b6aba6cc18
The build was broken [0] due to an incorrect dependency (not sure why it was working before, maybe the libraries where compatible). [0]: https://hydra.nixos.org/build/86085666
30 lines
600 B
Nix
30 lines
600 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyasn1
|
|
, pycryptodomex
|
|
, pysmi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "4.4.8";
|
|
pname = "pysnmp";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1c42qicrh56m49374kxna2s2nmdwna3yqgnz16frzj0dw7vxrrhk";
|
|
};
|
|
|
|
# NameError: name 'mibBuilder' is not defined
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ pyasn1 pycryptodomex pysmi ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://pysnmp.sf.net;
|
|
description = "A pure-Python SNMPv1/v2c/v3 library";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ koral ];
|
|
};
|
|
}
|