mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
d917e00b55
The build did most likely break due to 501314c9e8
.
32 lines
694 B
Nix
32 lines
694 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyasn1
|
|
, pycryptodomex
|
|
, pysmi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysnmp";
|
|
version = "4.4.12";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1acbfvpbr45i137s00mbhh21p71ywjfw3r8z0ybcmjjqz7rbwg8c";
|
|
};
|
|
|
|
patches = [ ./setup.py-Fix-the-setuptools-version-check.patch ];
|
|
|
|
# NameError: name 'mibBuilder' is not defined
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ pyasn1 pycryptodomex pysmi ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://snmplabs.com/pysnmp/index.html;
|
|
description = "A pure-Python SNMPv1/v2c/v3 library";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ primeos koral ];
|
|
};
|
|
}
|