1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5}:
6
7buildPythonPackage rec {
8 pname = "doorbirdpy";
9 version = "2.1.0";
10
11 src = fetchPypi {
12 pname = "DoorBirdPy";
13 inherit version;
14 sha256 = "ed0e94953cdf96111c7f73c5fcf358f65dc0ff5e47f63fc057bf18ca7512e606";
15 };
16
17 propagatedBuildInputs = [
18 requests
19 ];
20
21 # no tests on PyPI, no tags on GitLab
22 doCheck = false;
23
24 pythonImportsCheck = [ "doorbirdpy" ];
25
26 meta = with lib; {
27 description = "Python wrapper for the DoorBird LAN API";
28 homepage = "https://gitlab.com/klikini/doorbirdpy";
29 license = licenses.mit;
30 maintainers = with maintainers; [ dotlambda ];
31 };
32}