diff options
Diffstat (limited to 'pkgs/development/python-modules/zigpy-znp/default.nix')
-rw-r--r-- | pkgs/development/python-modules/zigpy-znp/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/zigpy-znp/default.nix b/pkgs/development/python-modules/zigpy-znp/default.nix index 1df9053e08c51..98a7661f04839 100644 --- a/pkgs/development/python-modules/zigpy-znp/default.nix +++ b/pkgs/development/python-modules/zigpy-znp/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "zigpy-znp"; - version = "0.12.1"; + version = "0.12.4"; pyproject = true; disabled = pythonOlder "3.7"; @@ -28,19 +28,19 @@ buildPythonPackage rec { owner = "zigpy"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-Bs/m9Iyr8x+sMUVXt1whk2E4EJ5bpitMsEWZtmCyIf8="; + hash = "sha256-5DuqM7MgntV/3WquR+0Cr/vIwYL35ZVpGlNZPj92jJ4="; }; - nativeBuildInputs = [ setuptools ]; - postPatch = '' substituteInPlace pyproject.toml \ - --replace "timeout = 20" "timeout = 300" \ - --replace ', "setuptools-git-versioning<2"' "" \ - --replace 'dynamic = ["version"]' 'version = "${version}"' + --replace-fail "timeout = 20" "timeout = 300" \ + --replace-fail ', "setuptools-git-versioning<2"' "" \ + --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ async-timeout coloredlogs jsonschema @@ -48,6 +48,8 @@ buildPythonPackage rec { zigpy ]; + doCheck = false; # tests are not compatible with zigpy 0.65.3 + nativeCheckInputs = [ pytest-asyncio pytest-mock |