python3Packages.pysnmp-pyasn1: init at 1.1.2
This commit is contained in:
parent
6b85f5e479
commit
c357dd1d9f
41
pkgs/development/python-modules/pysnmp-pyasn1/default.nix
Normal file
41
pkgs/development/python-modules/pysnmp-pyasn1/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user