nixpkgs/pkgs/development/python-modules/pysnmp/default.nix

31 lines
603 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pyasn1
, pycrypto
, pysmi
}:
buildPythonPackage rec {
2018-11-04 11:35:13 +01:00
version = "4.4.6";
pname = "pysnmp";
src = fetchPypi {
inherit pname version;
2018-11-04 11:35:13 +01:00
sha256 = "e34ffa0dce5f69adabd478ff76c3e1b08e32ebb0767df8b178d0704f4a1ac406";
};
# NameError: name 'mibBuilder' is not defined
doCheck = false;
propagatedBuildInputs = [ pyasn1 pycrypto pysmi ];
meta = with stdenv.lib; {
homepage = http://pysnmp.sf.net;
description = "A pure-Python SNMPv1/v2c/v3 library";
license = licenses.bsd2;
maintainers = with maintainers; [ koral ];
};
}