Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pysnmp / default.nix
blob6921ef3ad9a963b5de0cc7f9af4c7b289ad98b89
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pyasn1
5 , pycryptodomex
6 , pysmi
7 }:
9 buildPythonPackage rec {
10   pname = "pysnmp";
11   version = "4.4.12";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "1acbfvpbr45i137s00mbhh21p71ywjfw3r8z0ybcmjjqz7rbwg8c";
17   };
19   patches = [ ./setup.py-Fix-the-setuptools-version-check.patch ];
21   # NameError: name 'mibBuilder' is not defined
22   doCheck = false;
24   propagatedBuildInputs = [ pyasn1 pycryptodomex pysmi ];
26   meta = with lib; {
27     homepage = "http://snmplabs.com/pysnmp/index.html";
28     description = "A pure-Python SNMPv1/v2c/v3 library";
29     license = licenses.bsd2;
30     maintainers = with maintainers; [ primeos koral ];
31   };