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