Merge pull request #251985 from Janik-Haag/python-ndn
python3Packages.python-ndn: 0.3-3 -> 0.4.1
This commit is contained in:
commit
a08e6c27a3
1 changed files with 14 additions and 4 deletions
|
@ -4,16 +4,19 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lark
|
, lark
|
||||||
|
, poetry-core
|
||||||
|
, poetry-dynamic-versioning
|
||||||
, pycryptodomex
|
, pycryptodomex
|
||||||
, pygtrie
|
, pygtrie
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-ndn";
|
pname = "python-ndn";
|
||||||
version = "0.3-3";
|
version = "0.4.1";
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
@ -21,16 +24,19 @@ buildPythonPackage rec {
|
||||||
owner = "named-data";
|
owner = "named-data";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-XS71oIydyLYtx6OQGO5NrhjVSyZxnhufrZ1y/6TffPo=";
|
hash = "sha256-ArTP4LQu7VNjI/N13gMTc1SDiNmW5l4GdLYOk8JEfKg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.11";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
poetry-dynamic-versioning
|
||||||
pycryptodomex
|
pycryptodomex
|
||||||
lark
|
lark
|
||||||
pygtrie
|
pygtrie
|
||||||
|
@ -42,7 +48,11 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "ndn" ];
|
pythonRelaxDeps = [
|
||||||
|
"lark"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportChecks = [ "ndn" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An NDN client library with AsyncIO support";
|
description = "An NDN client library with AsyncIO support";
|
||||||
|
|
Loading…
Reference in a new issue