mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
python3Packages.pysnmp-pysmi: init at 1.1.8
This commit is contained in:
parent
c357dd1d9f
commit
d36ab13695
46
pkgs/development/python-modules/pysnmp-pysmi/default.nix
Normal file
46
pkgs/development/python-modules/pysnmp-pysmi/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, ply
|
||||
, poetry-core
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysnmp-pysmi";
|
||||
version = "1.1.8";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pysnmp";
|
||||
repo = "pysmi";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-nsIEZPD7bfbePZukkudP0ZH/m8Be88QkVDM5PdjNHVk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ply
|
||||
requests
|
||||
];
|
||||
|
||||
# Circular dependency with pysnmplib
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pysmi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "SNMP MIB parser";
|
||||
homepage = "https://github.com/pysnmp/pysmi";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7767,6 +7767,8 @@ in {
|
||||
|
||||
pysnmp-pyasn1 = callPackage ../development/python-modules/pysnmp-pyasn1 { };
|
||||
|
||||
pysnmp-pysmi = callPackage ../development/python-modules/pysnmp-pysmi { };
|
||||
|
||||
pysnooper = callPackage ../development/python-modules/pysnooper { };
|
||||
|
||||
pysnow = callPackage ../development/python-modules/pysnow { };
|
||||
|
Loading…
Reference in New Issue
Block a user