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

buildPythonPackage rec {
  version = "0.3.4";
  format = "setuptools";
  pname = "pysmi";

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

  propagatedBuildInputs = [ ply ];

  # Tests require pysnmp, which in turn requires pysmi => infinite recursion
  doCheck = false;

  meta = with lib; {
    homepage = "http://pysmi.sf.net";
    description = "SNMP SMI/MIB Parser";
    license = licenses.bsd2;
    maintainers = with maintainers; [ koral ];
  };

}