From 61a5ce446748652db5f9c1ab10dd8c727bd71f10 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 9 Sep 2024 10:23:40 +0200 Subject: [PATCH 1/2] python312Packages.pyaussiebb: 0.1.1 -> 0.1.4 Diff: https://github.com/yaleman/aussiebb/compare/refs/tags/v0.1.1...v0.1.4 Changelog: https://github.com/yaleman/pyaussiebb/blob/v0.1.4/CHANGELOG.md --- pkgs/development/python-modules/pyaussiebb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyaussiebb/default.nix b/pkgs/development/python-modules/pyaussiebb/default.nix index f33fe89fc2ea..3e34df90d30c 100644 --- a/pkgs/development/python-modules/pyaussiebb/default.nix +++ b/pkgs/development/python-modules/pyaussiebb/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pyaussiebb"; - version = "0.1.1"; + version = "0.1.4"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "yaleman"; repo = "aussiebb"; rev = "refs/tags/v${version}"; - hash = "sha256-XNf9vYMlTLqhYIVNw9GjPcXpOm5EYCcC4aGukR8g3zc="; + hash = "sha256-IW2HraJbgvf0G1eRXNpnsPMWlLXi2P9DTyk+tG5Hc2U="; }; nativeBuildInputs = [ poetry-core ]; From bb8f9e13665a49f451c8cbb21763ae8d150a52a4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 9 Sep 2024 10:24:43 +0200 Subject: [PATCH 2/2] python312Packages.pyaussiebb: refactor --- .../python-modules/pyaussiebb/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pyaussiebb/default.nix b/pkgs/development/python-modules/pyaussiebb/default.nix index 3e34df90d30c..57e758d25f9f 100644 --- a/pkgs/development/python-modules/pyaussiebb/default.nix +++ b/pkgs/development/python-modules/pyaussiebb/default.nix @@ -24,20 +24,20 @@ buildPythonPackage rec { hash = "sha256-IW2HraJbgvf0G1eRXNpnsPMWlLXi2P9DTyk+tG5Hc2U="; }; - nativeBuildInputs = [ poetry-core ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'requests = "^2.27.1"' 'requests = "*"' + ''; - propagatedBuildInputs = [ + build-system = [ poetry-core ]; + + dependencies = [ aiohttp requests loguru pydantic ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'requests = "^2.27.1"' 'requests = "*"' - ''; - # Tests require credentials and requests-testing doCheck = false;