6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
38 lines
715 B
Nix
38 lines
715 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "doorbirdpy";
|
|
version = "2.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "DoorBirdPy";
|
|
inherit version;
|
|
hash = "sha256-ZGIIko5Ac0Q4Jhz+z7FREJ4MhPF9ADDWgQFRtcZ+dWY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
# no tests on PyPI, no tags on GitLab
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"doorbirdpy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python wrapper for the DoorBird LAN API";
|
|
homepage = "https://gitlab.com/klikini/doorbirdpy";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|