about summary refs log tree commit diff
path: root/pkgs/development/python-modules/atenpdu/default.nix
blob: 4eed27b3cfd5fcd508fbe532675cb593c8efd4d6 (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
{ lib
, buildPythonPackage
, fetchPypi
, pysnmp
}:

buildPythonPackage rec {
  pname = "atenpdu";
  version = "0.3.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-/duY1hS+RU/UAdcQoHF1+c99XaN74jj/0Hj/86U0kmo=";
  };

  propagatedBuildInputs = [ pysnmp ];

  # Project has no test
  doCheck = false;
  pythonImportsCheck = [ "atenpdu" ];

  meta = with lib; {
    description = "Python interface to control ATEN PE PDUs";
    homepage = "https://github.com/mtdcr/pductl";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}