mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 17:56:58 +00:00
94e608f136
also point nixpkgs-unstable at HEAD of a PR with a cryptography upgrade I tried just overriding the upgrade into place but it results in infinite recursion, I suppose because cryptography is a dependency of some of the build tools and needs extra handling that I don't feel like figuring out for this short-term hack. someday the upgrade will land in nixpkgs master and we can switch back.
79 lines
1.3 KiB
Nix
79 lines
1.3 KiB
Nix
let
|
|
pname = "tahoe-lafs";
|
|
version = "1.18.0.post1";
|
|
in
|
|
{ lib
|
|
, pythonPackages
|
|
, 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
|
|
fixtures
|
|
hypothesis
|
|
mock
|
|
prometheus-client
|
|
testtools
|
|
];
|
|
integrationtest = [
|
|
pytest
|
|
pytest-twisted
|
|
paramiko
|
|
pytest-timeout
|
|
];
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://tahoe-lafs.org/";
|
|
description = "secure, decentralized, fault-tolerant file store";
|
|
# Also TGPPL
|
|
license = licenses.gpl2Plus;
|
|
};
|
|
}
|