python310Packages.zha-quirks: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent 52c0362bd1
commit c3af7faa26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      pkgs/development/python-modules/zha-quirks/default.nix

@ -4,18 +4,22 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, zigpy
}:
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.73";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zha-device-handlers";
rev = "refs/tags/${version}";
sha256 = "sha256-vC1kkh9t2fWmSqmKQz9ON8Y+tBFhTxrprLNzOldQR+A=";
hash = "sha256-vC1kkh9t2fWmSqmKQz9ON8Y+tBFhTxrprLNzOldQR+A=";
};
propagatedBuildInputs = [
@ -28,7 +32,9 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "zhaquirks" ];
pythonImportsCheck = [
"zhaquirks"
];
meta = with lib; {
description = "ZHA Device Handlers are custom quirks implementations for Zigpy";

Loading…
Cancel
Save