1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/security/gnupg/default.nix
Eelco Dolstra 272e44da1c * GnuPG updated to 1.4.2. Added support to optionally build it with
IDEA support (requires a license).

svn path=/nixpkgs/trunk/; revision=4399
2005-12-18 22:14:31 +00:00

21 lines
541 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 = ftp://ftp.surfnet.nl/pub/security/gnupg/gnupg/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;
}