From 2a4bd74d94cb1dc763adb3d47b63fee7b08a5eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 10 May 2026 14:55:36 -0700 Subject: [PATCH] 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 --- .../python-modules/prowlpy/default.nix | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/prowlpy/default.nix b/pkgs/development/python-modules/prowlpy/default.nix index 55a6e19b6797..c4cd08413856 100644 --- a/pkgs/development/python-modules/prowlpy/default.nix +++ b/pkgs/development/python-modules/prowlpy/default.nix @@ -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" ];