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-02-09 22:36:51 +00:00
|
|
|
version = "4.4.9";
|
2018-10-26 16:01:49 +01:00
|
|
|
pname = "pysnmp";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-09 22:36:51 +00:00
|
|
|
sha256 = "0h844s9p67z50bv83wdyf577759jg0xrj99fv4yrcvhjh2byblfm";
|
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; {
|
2019-02-09 22:36:51 +00:00
|
|
|
homepage = http://snmplabs.com/pysnmp/index.html;
|
2018-10-26 16:01:49 +01:00
|
|
|
description = "A pure-Python SNMPv1/v2c/v3 library";
|
|
|
|
license = licenses.bsd2;
|
2019-02-09 22:36:51 +00:00
|
|
|
maintainers = with maintainers; [ primeos koral ];
|
2018-10-26 16:01:49 +01:00
|
|
|
};
|
|
|
|
}
|