python311Packages.pysmi-lextudio: init at 1.1.13
SNMP MIB parser https://github.com/lextudio/pysmi
This commit is contained in:
parent
ab59bebb88
commit
dbc598a3c8
47
pkgs/development/python-modules/pysmi-lextudio/default.nix
Normal file
47
pkgs/development/python-modules/pysmi-lextudio/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, ply
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysmi-lextudio";
|
||||
version = "1.1.13";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lextudio";
|
||||
repo = "pysmi";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-P1uu1+EcqA7K+oJWFyHTyQqUvqZjZTU0owLKoxjaQhc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ply
|
||||
requests
|
||||
];
|
||||
|
||||
# Circular dependency on pysnmp-lextudio
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pysmi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "SNMP MIB parser";
|
||||
homepage = "https://github.com/lextudio/pysmi";
|
||||
changelog = "https://github.com/lextudio/pysmi/blob/${version}/CHANGES.rst";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -11267,6 +11267,8 @@ self: super: with self; {
|
||||
|
||||
pysmi = callPackage ../development/python-modules/pysmi { };
|
||||
|
||||
pysmi-lextudio = callPackage ../development/python-modules/pysmi-lextudio { };
|
||||
|
||||
pysml = callPackage ../development/python-modules/pysml { };
|
||||
|
||||
pysmt = callPackage ../development/python-modules/pysmt { };
|
||||
|
Loading…
Reference in New Issue
Block a user