2018-10-26 16:01:49 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyasn1
|
2019-01-03 21:36:30 +00:00
|
|
|
, pycryptodomex
|
2018-10-26 16:01:49 +01:00
|
|
|
, pysmi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-01-03 21:36:30 +00:00
|
|
|
version = "4.4.8";
|
2018-10-26 16:01:49 +01:00
|
|
|
pname = "pysnmp";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-03 21:36:30 +00:00
|
|
|
sha256 = "1c42qicrh56m49374kxna2s2nmdwna3yqgnz16frzj0dw7vxrrhk";
|
2018-10-26 16:01:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# NameError: name 'mibBuilder' is not defined
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-01-03 21:36:30 +00:00
|
|
|
propagatedBuildInputs = [ pyasn1 pycryptodomex pysmi ];
|
2018-10-26 16:01:49 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://pysnmp.sf.net;
|
|
|
|
description = "A pure-Python SNMPv1/v2c/v3 library";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|