Updating gnunet to 0.10.0.

This commit is contained in:
Lluís Batlle i Rossell 2014-01-14 09:41:14 +01:00
parent f046d9bd08
commit 95660053fc
3 changed files with 5 additions and 53 deletions

View file

@ -4,11 +4,11 @@
, makeWrapper }:
stdenv.mkDerivation rec {
name = "gnunet-0.9.5a";
name = "gnunet-0.10.0";
src = fetchurl {
url = "mirror://gnu/gnunet/${name}.tar.gz";
sha256 = "1mxy1ikv44fia3cybpmiw298x5371a2qh8hr7pi55yg1xqbhfq0x";
sha256 = "0zqpc47kywhjrpphl0palz849khv00ra2gjrfkysp6p0gfsbvd0i";
};
buildInputs = [

View file

@ -1,48 +0,0 @@
{ fetchgit, stdenv, libgpgerror, autoconf, automake, libtool, transfig, ghostscript, texinfo }:
stdenv.mkDerivation rec {
name = "libgcrypt-git-20130524";
src = fetchgit {
url = git://git.gnupg.org/libgcrypt.git;
rev = "99b18aa53";
sha256 = "1rhbpxqrkfszlv8jvw8s4apwklal07k8zxv5q555l7binc1j1j3z";
};
nativeBuildInputs = [ autoconf automake libtool transfig ghostscript texinfo ];
propagatedBuildInputs = [ libgpgerror ];
preConfigure = ''
sh autogen.sh
'';
preBuild = ''
(cd doc; make stamp-vti)
'';
doCheck = true;
# For some reason the tests don't find `libgpg-error.so'.
checkPhase = ''
LD_LIBRARY_PATH="${libgpgerror}/lib:$LD_LIBRARY_PATH" \
make check
'';
meta = {
description = "GNU Libgcrypt, a general-pupose cryptographic library";
longDescription = ''
GNU Libgcrypt is a general purpose cryptographic library based on
the code from GnuPG. It provides functions for all
cryptographic building blocks: symmetric ciphers, hash
algorithms, MACs, public key algorithms, large integer
functions, random numbers and a lot of supporting functions.
'';
license = "LGPLv2+";
homepage = https://www.gnu.org/software/libgcrypt/;
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -4843,8 +4843,6 @@ let
libgcrypt_1_6 = lowPrio (callPackage ../development/libraries/libgcrypt/1.6.nix { });
libgcrypt_git = lowPrio (callPackage ../development/libraries/libgcrypt/git.nix { });
libgdiplus = callPackage ../development/libraries/libgdiplus { };
libgpgerror = callPackage ../development/libraries/libgpg-error { };
@ -8084,7 +8082,9 @@ let
inherit (gnome3) goffice gnome_icon_theme;
};
gnunet = callPackage ../applications/networking/p2p/gnunet { };
gnunet = callPackage ../applications/networking/p2p/gnunet {
libgcrypt = libgcrypt_1_6;
};
gnunet_svn = lowPrio (callPackage ../applications/networking/p2p/gnunet/svn.nix {
libgcrypt = libgcrypt_1_6;