nixpkgs/pkgs/development/python-modules/pysnmp/default.nix
Michael Weiss b6aba6cc18
pythonPackages.pysnmp: 4.4.6 -> 4.4.8
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
2019-01-03 22:41:02 +01:00

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 ];
};
}