about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pythonegardia/default.nix
blob: 4c2394421fb0ae7113600e8c6570de74ce39bc2f (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.40";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1rv6m5zaflf3nanpl1xmfmfcpg8kzcnmniq1hhgrybsspkc7mvry";
  };

  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 ];
  };
}