* gnupg: use readline.

svn path=/nixpkgs/trunk/; revision=6198
This commit is contained in:
Eelco Dolstra 2006-08-21 10:38:02 +00:00
parent 4bfffeee52
commit bb53e3df6d
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# enabled if it is legal for you to do so. # enabled if it is legal for you to do so.
ideaSupport ? false ideaSupport ? false
, stdenv, fetchurl , stdenv, fetchurl, readline
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -13,6 +13,7 @@ stdenv.mkDerivation {
url = ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.5.tar.bz2; url = ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.5.tar.bz2;
sha1 = "553fefe0da5a91108dd9468e381faf9487754f9a"; sha1 = "553fefe0da5a91108dd9468e381faf9487754f9a";
}; };
buildInputs = [readline];
idea = if ideaSupport then fetchurl { idea = if ideaSupport then fetchurl {
url = ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz; url = ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz;
md5 = "9dc3bc086824a8c7a331f35e09a3e57f"; md5 = "9dc3bc086824a8c7a331f35e09a3e57f";

View File

@ -397,7 +397,7 @@ rec {
}; };
gnupg = import ../tools/security/gnupg { gnupg = import ../tools/security/gnupg {
inherit fetchurl stdenv; inherit fetchurl stdenv readline;
ideaSupport = true; # enable for IDEA crypto support ideaSupport = true; # enable for IDEA crypto support
}; };