15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-cAeLoDwAf56aWWKKUjOB0fpy7C3gBJchJJtQ6986thc=";
29 build-system = [ poetry-core ];
42 # Tests require pysnmp, which in turn requires pysmi => infinite recursion
45 pythonImportsCheck = [ "pysmi" ];
47 passthru.tests.pytest = pysmi.overridePythonAttrs { doCheck = true; };
50 description = "SNMP MIB parser";
51 homepage = "https://github.com/lextudio/pysmi";
52 changelog = "https://github.com/lextudio/pysmi/blob/v${version}/CHANGES.rst";
53 license = licenses.bsd2;
54 maintainers = with maintainers; [ fab ];