diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-22 14:43:01 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-22 14:43:01 -0700 |
commit | f491e53e23e20a1474f87230fde0acdbb164889c (patch) | |
tree | 4347f10f8bfd0909e22770c0055e648520b19a91 /pkgs/development/python-modules/aioguardian/default.nix | |
parent | 931bebde8ac8c501c06ca8bb2ce0b3dd5c5060f8 (diff) |
python3.pkgs.aioguardian: clean up build dependency constraints
Diffstat (limited to 'pkgs/development/python-modules/aioguardian/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aioguardian/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aioguardian/default.nix b/pkgs/development/python-modules/aioguardian/default.nix index 83f6231629620..e4dcbda3a02eb 100644 --- a/pkgs/development/python-modules/aioguardian/default.nix +++ b/pkgs/development/python-modules/aioguardian/default.nix @@ -5,6 +5,7 @@ , buildPythonPackage , docutils , fetchFromGitHub +, fetchpatch , poetry-core , pytest-aiohttp , pytest-asyncio @@ -27,6 +28,20 @@ buildPythonPackage rec { hash = "sha256-plgO+pyKmG0mYnFZxDcrENcuEg5AG2Og2xWipzuzyHo="; }; + patches = [ + # This patch removes references to setuptools and wheel that are no longer + # necessary and changes poetry to poetry-core, so that we don't need to add + # unnecessary nativeBuildInputs. + # + # https://github.com/bachya/aioguardian/pull/288 + # + (fetchpatch { + name = "clean-up-build-dependencies.patch"; + url = "https://github.com/bachya/aioguardian/commit/ffaad4b396645f599815010995fb71ca976e761e.patch"; + hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM="; + }) + ]; + nativeBuildInputs = [ poetry-core ]; |