tahoelafs: 1.10.0 -> 1.10.2 and refractor expression, fixes #12004
This commit is contained in:
parent
a3a9a56f8f
commit
443072799d
@ -1,19 +1,18 @@
|
|||||||
{ fetchurl, lib, unzip, buildPythonPackage, twisted, foolscap, nevow
|
{ fetchurl, lib, unzip, nettools, pythonPackages }:
|
||||||
, simplejson, zfec, pycryptopp, sqlite3, darcsver, setuptoolsTrial, python
|
|
||||||
, setuptoolsDarcs, numpy, nettools, pycrypto, pyasn1, mock, zope_interface }:
|
|
||||||
|
|
||||||
# FAILURES: The "running build_ext" phase fails to compile Twisted
|
# FAILURES: The "running build_ext" phase fails to compile Twisted
|
||||||
# plugins, because it tries to write them into Twisted's (immutable)
|
# plugins, because it tries to write them into Twisted's (immutable)
|
||||||
# store path. The problem appears to be non-fatal, but there's probably
|
# store path. The problem appears to be non-fatal, but there's probably
|
||||||
# some loss of functionality because of it.
|
# some loss of functionality because of it.
|
||||||
|
|
||||||
buildPythonPackage rec {
|
pythonPackages.buildPythonPackage rec {
|
||||||
name = "tahoe-lafs-1.10.0";
|
version = "1.10.2";
|
||||||
|
name = "tahoe-lafs-${version}";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-1.10.0.tar.bz2";
|
url = "http://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-${version}.tar.bz2";
|
||||||
sha256 = "1qng7j1vykk8zl5da9yklkljvgxfnjky58gcay6dypz91xq1cmcw";
|
sha256 = "1rvv0ik5biy7ji8pg56v0qycnggzr3k6dbg88n555nb6r4cxgmgy";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -32,13 +31,14 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# Some tests want this + http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/mock-0.6.0.tar.bz2
|
# Some tests want this + http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/mock-0.6.0.tar.bz2
|
||||||
buildInputs = [ unzip numpy ];
|
buildInputs = with pythonPackages; [ unzip numpy mock ];
|
||||||
|
|
||||||
# The `backup' command requires `sqlite3'.
|
# The `backup' command requires `sqlite3'.
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
[ twisted foolscap nevow simplejson zfec pycryptopp sqlite3
|
twisted foolscap nevow simplejson zfec pycryptopp sqlite3 darcsver
|
||||||
darcsver setuptoolsTrial setuptoolsDarcs pycrypto pyasn1 zope_interface mock
|
setuptoolsTrial setuptoolsDarcs pycrypto pyasn1 zope_interface
|
||||||
];
|
service-identity
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Install the documentation.
|
# Install the documentation.
|
||||||
@ -49,7 +49,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# TODO: broken with wheels
|
# TODO: broken with wheels
|
||||||
#${python.interpreter} setup.py trial
|
#${pythonPackages.python.interpreter} setup.py trial
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -13496,11 +13496,7 @@ let
|
|||||||
|
|
||||||
tagainijisho = callPackage ../applications/office/tagainijisho {};
|
tagainijisho = callPackage ../applications/office/tagainijisho {};
|
||||||
|
|
||||||
tahoelafs = callPackage ../tools/networking/p2p/tahoe-lafs {
|
tahoelafs = callPackage ../tools/networking/p2p/tahoe-lafs {};
|
||||||
inherit (pythonPackages) twisted foolscap simplejson nevow zfec
|
|
||||||
pycryptopp sqlite3 darcsver setuptoolsTrial setuptoolsDarcs
|
|
||||||
numpy pyasn1 mock zope_interface;
|
|
||||||
};
|
|
||||||
|
|
||||||
tailor = callPackage ../applications/version-management/tailor {};
|
tailor = callPackage ../applications/version-management/tailor {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user