Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 cryptography,
6 libnacl,
7 aiohttp,
8 aiohttp-apispec,
9 pyopenssl,
10 pyasn1,
11 marshmallow,
12 typing-extensions,
13 packaging,
14 apispec,
15}:
16
17buildPythonPackage rec {
18 pname = "pyipv8";
19 version = "3.0.0";
20 format = "setuptools";
21
22 src = fetchPypi {
23 inherit pname version;
24 hash = "sha256-e8HoKKA1s93LbmvHs7gJqmCcuZZ9REenBwxKJFR6wjM=";
25 };
26
27 propagatedBuildInputs = [
28 cryptography
29 libnacl
30 aiohttp
31 aiohttp-apispec
32 pyopenssl
33 pyasn1
34 marshmallow
35 typing-extensions
36 packaging
37 apispec
38 ];
39
40 doCheck = false;
41
42 meta = with lib; {
43 description = "Python implementation of Tribler's IPv8 p2p-networking layer";
44 homepage = "https://github.com/Tribler/py-ipv8";
45 license = licenses.lgpl3Only;
46 maintainers = with maintainers; [ mkg20001 ];
47 };
48}