2018-10-26 17:01:49 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyasn1
|
2019-01-03 22:36:30 +01:00
|
|
|
, pycryptodomex
|
2018-10-26 17:01:49 +02:00
|
|
|
, pysmi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-02-09 23:36:51 +01:00
|
|
|
version = "4.4.9";
|
2018-10-26 17:01:49 +02:00
|
|
|
pname = "pysnmp";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-09 23:36:51 +01:00
|
|
|
sha256 = "0h844s9p67z50bv83wdyf577759jg0xrj99fv4yrcvhjh2byblfm";
|
2018-10-26 17:01:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# NameError: name 'mibBuilder' is not defined
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-01-03 22:36:30 +01:00
|
|
|
propagatedBuildInputs = [ pyasn1 pycryptodomex pysmi ];
|
2018-10-26 17:01:49 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-02-09 23:36:51 +01:00
|
|
|
homepage = http://snmplabs.com/pysnmp/index.html;
|
2018-10-26 17:01:49 +02:00
|
|
|
description = "A pure-Python SNMPv1/v2c/v3 library";
|
|
|
|
license = licenses.bsd2;
|
2019-02-09 23:36:51 +01:00
|
|
|
maintainers = with maintainers; [ primeos koral ];
|
2018-10-26 17:01:49 +02:00
|
|
|
};
|
|
|
|
}
|