python310Packages.doorbirdpy: disable on unsupported Python releases
This commit is contained in:
parent
8dbd527896
commit
6414a51b27
|
@ -2,16 +2,20 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, requests
|
, requests
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "doorbirdpy";
|
pname = "doorbirdpy";
|
||||||
version = "2.2.0";
|
version = "2.2.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "DoorBirdPy";
|
pname = "DoorBirdPy";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-ZGIIko5Ac0Q4Jhz+z7FREJ4MhPF9ADDWgQFRtcZ+dWY=";
|
hash = "sha256-ZGIIko5Ac0Q4Jhz+z7FREJ4MhPF9ADDWgQFRtcZ+dWY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -21,7 +25,9 @@ buildPythonPackage rec {
|
||||||
# no tests on PyPI, no tags on GitLab
|
# no tests on PyPI, no tags on GitLab
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "doorbirdpy" ];
|
pythonImportsCheck = [
|
||||||
|
"doorbirdpy"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python wrapper for the DoorBird LAN API";
|
description = "Python wrapper for the DoorBird LAN API";
|
||||||
|
|
Loading…
Reference in a new issue