python3Packages.doorbirdpy: init at 2.1.0

This commit is contained in:
Robert Schütz 2021-06-17 12:47:17 +02:00
parent c147520d3f
commit 704c1e5708
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "doorbirdpy";
version = "2.1.0";
src = fetchPypi {
pname = "DoorBirdPy";
inherit version;
sha256 = "ed0e94953cdf96111c7f73c5fcf358f65dc0ff5e47f63fc057bf18ca7512e606";
};
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 ];
};
}

View File

@ -2142,6 +2142,8 @@ in {
dominate = callPackage ../development/python-modules/dominate { };
doorbirdpy = callPackage ../development/python-modules/doorbirdpy { };
dopy = callPackage ../development/python-modules/dopy { };
dotty-dict = callPackage ../development/python-modules/dotty-dict { };