From ed221cf4cc874cf558384d6a09c2ec322eae6414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 18 Jan 2012 20:53:00 +0000 Subject: [PATCH] GNUnet 0.9.1. svn path=/nixpkgs/trunk/; revision=31677 --- .../networking/p2p/gnunet/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix index 1219c176354..5d5d6128bb4 100644 --- a/pkgs/applications/networking/p2p/gnunet/default.nix +++ b/pkgs/applications/networking/p2p/gnunet/default.nix @@ -7,11 +7,11 @@ assert gtkSupport -> (gtk != null) && (libglade != null); stdenv.mkDerivation rec { - name = "gnunet-0.9.0"; + name = "gnunet-0.9.1"; src = fetchurl { url = "mirror://gnu/gnunet/${name}.tar.gz"; - sha256 = "1a0faq2j20dxhpdq0lpi8mjhddwmscbaa1bsxk460p5mj8n55i3p"; + sha256 = "0ipx027lzcgdv70adfk8f4h0zrzm9mlhy3vj9cgc0ck8x52llfpq"; }; buildInputs = [ @@ -41,9 +41,18 @@ stdenv.mkDerivation rec { done ''; - # XXX: There are several test failures, forwarded to bug-gnunet@gnu.org. doCheck = false; + /* FIXME: Tests must be run this way, but there are still a couple of + failures. + + postInstall = + '' export GNUNET_PREFIX="$out" + export PATH="$out/bin:$PATH" + make -k check + ''; + */ + meta = { description = "GNUnet, GNU's decentralized anonymous and censorship-resistant P2P framework";