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
55
56
57
58
59
|
{
lib,
fetchPypi,
aiohttp,
aiohttp-apispec,
apispec,
buildPythonPackage,
cryptography,
fetchFromGitHub,
libnacl,
marshmallow,
packaging,
pyasn1,
pyopenssl,
setuptools,
pytestCheckHook,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pyipv8";
version = "3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tribler";
repo = "py-ipv8";
tag = version;
hash = "sha256-HamjKVuBPSicoP/GldO5kg2Eay50ti03wzeNaPAl0qI=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
libnacl
aiohttp
aiohttp-apispec
pyopenssl
pyasn1
marshmallow
typing-extensions
packaging
apispec
];
doCheck = true;
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python implementation of Tribler's IPv8 p2p-networking layer";
homepage = "https://github.com/Tribler/py-ipv8";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ mkg20001 ];
};
}
|