blob: 4f7307f155e063766e7dc77e93e01233c475ed89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
];
pythonImportsCheck = [ "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 ];
};
}
|