mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
31 lines
603 B
Nix
31 lines
603 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyasn1
|
|
, pycrypto
|
|
, pysmi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "4.4.6";
|
|
pname = "pysnmp";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e34ffa0dce5f69adabd478ff76c3e1b08e32ebb0767df8b178d0704f4a1ac406";
|
|
};
|
|
|
|
# NameError: name 'mibBuilder' is not defined
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ pyasn1 pycrypto 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 ];
|
|
};
|
|
|
|
}
|