Skip to content

Commit

Permalink
python3Packages.python-ndn: 0.3-3 -> 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik-Haag committed Sep 25, 2023
1 parent 86d24a9 commit 36d49df
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pkgs/development/python-modules/python-ndn/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,39 @@
, 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";

src = fetchFromGitHub {
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
Expand All @@ -42,7 +48,11 @@ buildPythonPackage rec {
pytestCheckHook
];

pythonImportsCheck = [ "ndn" ];
pythonRelaxDeps = [
"lark"
];

pythonImportChecks = [ "ndn" ];

meta = with lib; {
description = "An NDN client library with AsyncIO support";
Expand Down

0 comments on commit 36d49df

Please sign in to comment.