Merge pull request #234582 from Janik-Haag/python-ndn
python-ndn: init at 0.3-3
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, aenum
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lark
|
||||
, pycryptodomex
|
||||
, pygtrie
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-ndn";
|
||||
version = "0.3-3";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "named-data";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XS71oIydyLYtx6OQGO5NrhjVSyZxnhufrZ1y/6TffPo=";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pycryptodomex
|
||||
lark
|
||||
pygtrie
|
||||
aenum
|
||||
aiohttp
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportChecks = [ "ndn" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An NDN client library with AsyncIO support";
|
||||
homepage = "https://github.com/named-data/python-ndn";
|
||||
changelog = "https://github.com/named-data/python-ndn/blob/${src.rev}/CHANGELOG.rst";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ janik ];
|
||||
};
|
||||
}
|
||||
@@ -7234,6 +7234,8 @@ self: super: with self; {
|
||||
|
||||
python-jwt = callPackage ../development/python-modules/python-jwt { };
|
||||
|
||||
python-ndn = callPackage ../development/python-modules/python-ndn { };
|
||||
|
||||
python-nvd3 = callPackage ../development/python-modules/python-nvd3 { };
|
||||
|
||||
python-youtube = callPackage ../development/python-modules/python-youtube { };
|
||||
|
||||
Reference in New Issue
Block a user