python310Packages.zigpy-deconz: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-05-02 19:28:34 +02:00 committed by Jonathan Ringer
parent aff0aeb33d
commit b521c51c83

View file

@ -6,6 +6,7 @@
, pyserial-asyncio , pyserial-asyncio
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder
, zigpy , zigpy
}: }:
@ -14,11 +15,13 @@ buildPythonPackage rec {
version = "0.16.0"; version = "0.16.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zigpy"; owner = "zigpy";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-MEYe8DGx338ze1t36Fh0Zl8GgBpk2Wmx0EKnewjnTws="; hash = "sha256-MEYe8DGx338ze1t36Fh0Zl8GgBpk2Wmx0EKnewjnTws=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [