3389f4bc36
svn path=/nixpkgs/trunk/; revision=4623
20 lines
529 B
Nix
20 lines
529 B
Nix
{
|
|
# 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
|
|
|
|
, stdenv, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gnupg-1.4.2";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gnupg-1.4.2.tar.bz2;
|
|
md5 = "c7afd50c7d01fcfada229326b3958404";
|
|
};
|
|
idea = if ideaSupport then fetchurl {
|
|
url = ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz;
|
|
md5 = "9dc3bc086824a8c7a331f35e09a3e57f";
|
|
} else null;
|
|
}
|