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