nixpkgs-suyu/pkgs/development/python-modules/pysmi/default.nix

29 lines
573 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, ply
}:
buildPythonPackage rec {
2019-04-16 19:15:39 +02:00
version = "0.3.4";
pname = "pysmi";
src = fetchPypi {
inherit pname version;
2019-04-16 19:15:39 +02:00
sha256 = "bd15a15020aee8376cab5be264c26330824a8b8164ed0195bd402dd59e4e8f7c";
};
propagatedBuildInputs = [ ply ];
# Tests require pysnmp, which in turn requires pysmi => infinite recursion
doCheck = false;
meta = with stdenv.lib; {
homepage = http://pysmi.sf.net;
description = "SNMP SMI/MIB Parser";
license = licenses.bsd2;
maintainers = with maintainers; [ koral ];
};
}