python3Packages.prowlpy: 1.1.5 -> 2.0.0

Diff: https://github.com/OMEGARAZER/prowlpy/compare/v1.1.5...v2.0.0

Changelog: https://github.com/OMEGARAZER/prowlpy/blob/v2.0.0/CHANGELOG.md
This commit is contained in:
Robert Schütz
2026-05-15 09:41:25 -07:00
parent 5f6ffcb49a
commit 2a4bd74d94
@@ -1,42 +1,42 @@
{
buildPythonPackage,
click,
cacert,
fetchFromGitHub,
httpx,
lib,
loguru,
pyreqwest,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
respx,
setuptools,
typer,
xmltodict,
}:
buildPythonPackage rec {
pname = "prowlpy";
version = "1.1.5";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "OMEGARAZER";
repo = "prowlpy";
tag = "v${version}";
hash = "sha256-psXq858y5wsDU5GqGOzVFmYBSZvfuYXzOTZ20mx8PMw=";
hash = "sha256-S+hhZndOb5O9okrrnXGt7D0N4VRIThbMN1LYVPGzFy8=";
};
build-system = [ setuptools ];
dependencies = [
httpx
pyreqwest
xmltodict
]
++ httpx.optional-dependencies.http2;
];
optional-dependencies = {
cli = [
click
loguru
typer
];
};
@@ -50,6 +50,12 @@ buildPythonPackage rec {
]
++ lib.concatAttrValues optional-dependencies;
preCheck = ''
# Without this pyreqwest fails with
# unexpected error: No CA certificates were loaded from the system
export SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt"
'';
# tests fail without this
pytestFlags = [ "-v" ];