python3Packages.broadlink: disable on older Python releases
This commit is contained in:
parent
512404e0e4
commit
216d21499a
|
@ -2,22 +2,26 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, cryptography
|
, cryptography
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "broadlink";
|
pname = "broadlink";
|
||||||
version = "0.18.1";
|
version = "0.18.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-KMfL1mY4th87gjPrdhvzQjdXucgwSChsykOCO3cPAD8=";
|
hash = "sha256-KMfL1mY4th87gjPrdhvzQjdXucgwSChsykOCO3cPAD8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cryptography
|
cryptography
|
||||||
];
|
];
|
||||||
|
|
||||||
# no tests available
|
# Module has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -28,5 +32,6 @@ buildPythonPackage rec {
|
||||||
description = "Python API for controlling Broadlink IR controllers";
|
description = "Python API for controlling Broadlink IR controllers";
|
||||||
homepage = "https://github.com/mjg59/python-broadlink";
|
homepage = "https://github.com/mjg59/python-broadlink";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue