diff options
| author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-23 14:30:53 -0700 |
|---|---|---|
| committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-23 17:22:56 -0700 |
| commit | b7df9ed8df3b3e67098b4911ccc00a611bf4d9be (patch) | |
| tree | d5b9d872611060a49d6156a8b3dd041603ac3a66 /pkgs/development/python-modules/python-otbr-api | |
| parent | f851b3a62a96ac58690b4c8c6c422676e65fd6c6 (diff) | |
python3.pkgs.python-otbr-api: relax setuptools dependency
Diffstat (limited to 'pkgs/development/python-modules/python-otbr-api')
| -rw-r--r-- | pkgs/development/python-modules/python-otbr-api/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-otbr-api/default.nix b/pkgs/development/python-modules/python-otbr-api/default.nix index f11bb76057f5..d6137cf191e2 100644 --- a/pkgs/development/python-modules/python-otbr-api/default.nix +++ b/pkgs/development/python-modules/python-otbr-api/default.nix @@ -4,10 +4,13 @@ , buildPythonPackage , cryptography , fetchFromGitHub +, fetchpatch +, pytest-asyncio , pytestCheckHook , pythonOlder , setuptools , voluptuous +, wheel }: buildPythonPackage rec { @@ -24,8 +27,18 @@ buildPythonPackage rec { hash = "sha256-bPN2h60ypjlKpXs1xDS7bZcGRXvatA3EdlAX/HLxxTM="; }; + patches = [ + # https://github.com/home-assistant-libs/python-otbr-api/pull/68 + (fetchpatch { + name = "relax-setuptools-dependency.patch"; + url = "https://github.com/home-assistant-libs/python-otbr-api/commit/37eb19c12d17ac7d040ded035d8401def872fbda.patch"; + hash = "sha256-JGsaLQNbUfz0uK/MeGnR2XTJDs4RnTOEg7BavfDPArg="; + }) + ]; + nativeBuildInputs = [ setuptools + wheel ]; propagatedBuildInputs = [ @@ -36,6 +49,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + pytest-asyncio pytestCheckHook ]; |
