2005-12-18 23:14:31 +01:00
|
|
|
{
|
|
|
|
# Support for the IDEA cipher (used by the old PGP) should only be
|
|
|
|
# enabled if it is legal for you to do so.
|
|
|
|
ideaSupport ? false
|
|
|
|
|
2006-08-21 12:38:02 +02:00
|
|
|
, stdenv, fetchurl, readline
|
2005-12-18 23:14:31 +01:00
|
|
|
}:
|
2005-03-22 16:23:20 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-05-14 00:50:37 +02:00
|
|
|
name = "gnupg-1.4.7";
|
2005-03-22 16:23:20 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-05-14 00:50:37 +02:00
|
|
|
url = ftp://ftp.surfnet.nl/pub/security/gnupg/gnupg/gnupg-1.4.7.tar.bz2;
|
|
|
|
sha256 = "13a6qrgswbrfj3z5hcjx62ahraj4j16cpssgxlkwlqiz35yqplb9";
|
2005-03-22 16:23:20 +01:00
|
|
|
};
|
2006-08-21 12:38:02 +02:00
|
|
|
buildInputs = [readline];
|
2005-12-18 23:14:31 +01:00
|
|
|
idea = if ideaSupport then fetchurl {
|
2006-10-12 17:58:51 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/idea.c.gz;
|
2005-12-18 23:14:31 +01:00
|
|
|
md5 = "9dc3bc086824a8c7a331f35e09a3e57f";
|
|
|
|
} else null;
|
2005-03-22 16:23:20 +01:00
|
|
|
}
|