tahoe-lafs/nix/tahoe-lafs.nix

80 lines
1.4 KiB
Nix
Raw Normal View History

let
pname = "tahoe-lafs";
version = "1.18.0.post1";
in
2023-03-13 21:10:29 +00:00
{ lib
, pythonPackages
2023-03-13 21:10:29 +00:00
, buildPythonPackage
, tahoe-lafs-src
}:
buildPythonPackage rec {
inherit pname version;
src = tahoe-lafs-src;
propagatedBuildInputs = with pythonPackages; [
attrs
autobahn
cbor2
click
collections-extended
cryptography
distro
eliot
filelock
foolscap
future
klein
magic-wormhole
netifaces
psutil
pyyaml
pycddl
pyrsistent
pyutil
six
treq
twisted
werkzeug
zfec
zope_interface
] ++
# Get the dependencies for the Twisted extras we depend on, too.
twisted.passthru.optional-dependencies.tls ++
twisted.passthru.optional-dependencies.conch;
# The test suite lives elsewhere.
doCheck = false;
passthru = {
extras = with pythonPackages; {
tor = [
txtorcon
];
i2p = [
txi2p
];
unittest = [
beautifulsoup4
2023-07-07 15:47:04 +00:00
html5lib
fixtures
hypothesis
mock
prometheus-client
testtools
];
integrationtest = [
pytest
pytest-twisted
paramiko
pytest-timeout
];
};
};
2023-03-13 21:06:06 +00:00
meta = with lib; {
homepage = "https://tahoe-lafs.org/";
description = "secure, decentralized, fault-tolerant file store";
# Also TGPPL
license = licenses.gpl2Plus;
};
}