
If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
49 lines
850 B
Nix
49 lines
850 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
libnacl,
|
|
aiohttp,
|
|
aiohttp-apispec,
|
|
pyopenssl,
|
|
pyasn1,
|
|
marshmallow,
|
|
typing-extensions,
|
|
packaging,
|
|
apispec,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyipv8";
|
|
version = "3.0.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-e8HoKKA1s93LbmvHs7gJqmCcuZZ9REenBwxKJFR6wjM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
libnacl
|
|
aiohttp
|
|
aiohttp-apispec
|
|
pyopenssl
|
|
pyasn1
|
|
marshmallow
|
|
typing-extensions
|
|
packaging
|
|
apispec
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python implementation of Tribler's IPv8 p2p-networking layer";
|
|
homepage = "https://github.com/Tribler/py-ipv8";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
};
|
|
}
|