python311Packages.pysmi-lextudio: init at 1.1.13

SNMP MIB parser

https://github.com/lextudio/pysmi
This commit is contained in:
Fabian Affolter 2024-01-13 00:39:27 +01:00
parent ab59bebb88
commit dbc598a3c8
2 changed files with 49 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };