python3Packages.pysnmp-pyasn1: init at 1.1.2

This commit is contained in:
Fabian Affolter 2022-04-14 11:08:53 +02:00
parent 6b85f5e479
commit c357dd1d9f
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pysnmp-pyasn1";
version = "1.1.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pysnmp";
repo = "pyasn1";
rev = "v${version}";
hash = "sha256-R4reMwVcJBTfTEHUk6sSUugsEPuKIziH1WbjMakP/dA=";
};
nativeBuildInputs = [
poetry-core
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pyasn1"
];
meta = with lib; {
description = "Python ASN.1 encoder and decoder";
homepage = "https://github.com/pysnmp/pyasn1";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7765,6 +7765,8 @@ in {
pysnmp = callPackage ../development/python-modules/pysnmp { };
pysnmp-pyasn1 = callPackage ../development/python-modules/pysnmp-pyasn1 { };
pysnooper = callPackage ../development/python-modules/pysnooper { };
pysnow = callPackage ../development/python-modules/pysnow { };