about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/doorbirdpy/default.nix
blob: 1290aaf05757054ff427bd72c499623b1e1f529a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 ];
  };
}