about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pythonegardia/default.nix
blob: 318059d2466f5cb2aacc206dbe3ae3eb6b065c28 (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
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:

buildPythonPackage rec {
  pname = "pythonegardia";
  version = "1.0.51";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b99217e34c59bfae059db400acef99d3d32237d13da6fdce9e0d4decc9a07e61";
  };

  propagatedBuildInputs = [
    requests
  ];

  # Project has no tests, only two test file for manual interaction
  doCheck = false;
  pythonImportsCheck = [ "pythonegardia" ];

  meta = with lib; {
    description = "Python interface with Egardia/Woonveilig alarms";
    homepage = "https://github.com/jeroenterheerdt/python-egardia";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}