python3Packages.pyswitchbot: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-02-22 08:43:59 +01:00 committed by GitHub
parent 759245748c
commit acc9c35df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
, bluepy
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
@ -9,11 +10,13 @@ buildPythonPackage rec {
version = "0.13.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pySwitchbot";
rev = version;
sha256 = "sha256-Zgpnw4It3yyy9RQqt5SxeJXl1Z3J3Rp9baLfiw5Bgow=";
hash = "sha256-Zgpnw4It3yyy9RQqt5SxeJXl1Z3J3Rp9baLfiw5Bgow=";
};
propagatedBuildInputs = [