summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2010-07-27 23:52:22 +0000
committerPeter Simons <simons@cryp.to>2010-07-27 23:52:22 +0000
commit1bb86133c7e1002b68eda57cb76a3ffb3ce6b961 (patch)
treed7e8586a4f016df34680c549fc6c7ec6187bcfc7 /pkgs
parent4e872b84eecb3b2428a35a8b83c2bee2b7a42a29 (diff)
downloadnixpkgs-1bb86133c7e1002b68eda57cb76a3ffb3ce6b961.tar
nixpkgs-1bb86133c7e1002b68eda57cb76a3ffb3ce6b961.tar.gz
nixpkgs-1bb86133c7e1002b68eda57cb76a3ffb3ce6b961.tar.bz2
nixpkgs-1bb86133c7e1002b68eda57cb76a3ffb3ce6b961.tar.lz
nixpkgs-1bb86133c7e1002b68eda57cb76a3ffb3ce6b961.tar.xz
nixpkgs-1bb86133c7e1002b68eda57cb76a3ffb3ce6b961.tar.zst
nixpkgs-1bb86133c7e1002b68eda57cb76a3ffb3ce6b961.zip
pkgs/tools/networking/p2p/tahoe-lafs: updated to version 1.7.1
svn path=/nixpkgs/trunk/; revision=22774
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/p2p/tahoe-lafs/default.nix19
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 14 insertions, 9 deletions
diff --git a/pkgs/tools/networking/p2p/tahoe-lafs/default.nix b/pkgs/tools/networking/p2p/tahoe-lafs/default.nix
index 5a3374fbef0..e5938a9c9b4 100644
--- a/pkgs/tools/networking/p2p/tahoe-lafs/default.nix
+++ b/pkgs/tools/networking/p2p/tahoe-lafs/default.nix
@@ -1,14 +1,19 @@
 { fetchurl, lib, unzip, buildPythonPackage, twisted, foolscap, nevow
 , simplejson, zfec, pycryptopp, pysqlite, darcsver, setuptoolsTrial
-, setuptoolsDarcs, numpy, nettools }:
+, setuptoolsDarcs, numpy, nettools, pycrypto, pyasn1 }:
+
+# FAILURES: The "running build_ext" phase fails to compile Twisted
+# plugins, because it tries to write them into Twisted's (immutable)
+# store path. The problem appears to be non-fatal, but there's probably
+# some loss of functionality because of it.
 
 buildPythonPackage (rec {
-  name = "tahoe-lafs-1.6.1";
+  name = "tahoe-lafs-1.7.1";
   namePrefix = "";
 
   src = fetchurl {
-    url = "http://allmydata.org/source/tahoe/releases/allmydata-tahoe-1.6.1.zip";
-    sha256 = "1b0m1fj1lrd9kvlavd6303jjgvzasj6rnlwhdysn4i2zqriv8d9f";
+    url = "http://allmydata.org/source/tahoe/releases/allmydata-tahoe-1.7.1.zip";
+    sha256 = "7e676e1ea517b3f6f6f76d56f712e72a5c2d4287fdd474abc9523aa533fd9038";
   };
 
   patches = [ ./test-timeout.patch ];
@@ -39,12 +44,12 @@ buildPythonPackage (rec {
   '';
 
   buildInputs = [ unzip ]
-    ++ [ numpy ]; # Some tests want this
+    ++ [ numpy ]; # Some tests want this + http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/mock-0.6.0.tar.bz2
 
   # The `backup' command requires `pysqlite'.
   propagatedBuildInputs =
     [ twisted foolscap nevow simplejson zfec pycryptopp pysqlite
-      darcsver setuptoolsTrial
+      darcsver setuptoolsTrial setuptoolsDarcs pycrypto pyasn1
     ];
 
   # The test suite is run in `postInstall'.
@@ -82,7 +87,7 @@ buildPythonPackage (rec {
 
     license = [ "GPLv2+" /* or */ "TGPPLv1+" ];
 
-    maintainers = [ lib.maintainers.ludo ];
+    maintainers = [ lib.maintainers.ludo lib.maintainers.simons  ];
     platforms = lib.platforms.gnu;  # arbitrary choice
   };
 })
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 32acc004b24..8ac8071dd64 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8888,10 +8888,10 @@ let
   };
 
   tahoelafs = import ../tools/networking/p2p/tahoe-lafs {
-    inherit fetchurl lib unzip nettools buildPythonPackage;
+    inherit fetchurl lib unzip nettools buildPythonPackage pycrypto;
     inherit (pythonPackages) twisted foolscap simplejson nevow zfec
       pycryptopp pysqlite darcsver setuptoolsTrial setuptoolsDarcs
-      numpy;
+      numpy pyasn1;
   };
 
   tailor = builderDefsPackage (import ../applications/version-management/tailor) {