summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-ndn
diff options
context:
space:
mode:
authorJanik H <janik@aq0.de>2023-08-28 15:00:26 +0200
committerJanik H. <janik@aq0.de>2023-09-25 15:52:07 +0200
commit36d49df59d0cb314160ce26ffb06584194fa1aff (patch)
treef41c947dd5729e1958244f6a4e5d83812fc8b588 /pkgs/development/python-modules/python-ndn
parent86d24a930dcd8a2a04e44a23bd6fcfabf62c7add (diff)
python3Packages.python-ndn: 0.3-3 -> 0.4.1
Diff: https://github.com/named-data/python-ndn/compare/v0.3-3...v0.4.1 Changelog: https://github.com/named-data/python-ndn/blob/v0.4.1/CHANGELOG.rst
Diffstat (limited to 'pkgs/development/python-modules/python-ndn')
-rw-r--r--pkgs/development/python-modules/python-ndn/default.nix18
1 files changed, 14 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/python-ndn/default.nix b/pkgs/development/python-modules/python-ndn/default.nix
index 4f7307f155e0..a96501dbbf3c 100644
--- a/pkgs/development/python-modules/python-ndn/default.nix
+++ b/pkgs/development/python-modules/python-ndn/default.nix
@@ -4,16 +4,19 @@
, buildPythonPackage
, fetchFromGitHub
, lark
+, poetry-core
+, poetry-dynamic-versioning
, pycryptodomex
, pygtrie
, pytestCheckHook
+, pythonRelaxDepsHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "python-ndn";
- version = "0.3-3";
+ version = "0.4.1";
format = "pyproject";
@@ -21,16 +24,19 @@ buildPythonPackage rec {
owner = "named-data";
repo = pname;
rev = "v${version}";
- hash = "sha256-XS71oIydyLYtx6OQGO5NrhjVSyZxnhufrZ1y/6TffPo=";
+ hash = "sha256-ArTP4LQu7VNjI/N13gMTc1SDiNmW5l4GdLYOk8JEfKg=";
};
- disabled = pythonOlder "3.9";
+ disabled = pythonOlder "3.11";
nativeBuildInputs = [
setuptools
+ poetry-core
+ pythonRelaxDepsHook
];
propagatedBuildInputs = [
+ poetry-dynamic-versioning
pycryptodomex
lark
pygtrie
@@ -42,7 +48,11 @@ buildPythonPackage rec {
pytestCheckHook
];
- pythonImportsCheck = [ "ndn" ];
+ pythonRelaxDeps = [
+ "lark"
+ ];
+
+ pythonImportChecks = [ "ndn" ];
meta = with lib; {
description = "An NDN client library with AsyncIO support";