nixpkgs/pkgs/tools/security/gnupg2/default.nix
Ludovic Courtès 8f0dab06ec Add GnuPG mirrors, use them.
svn path=/nixpkgs/trunk/; revision=12832
2008-09-09 09:06:01 +00:00

23 lines
605 B
Nix

# remmeber to
# echo "pinentry-program `which pinentry-gtk-2`" >> ~/.gnupg/gpg-agent.conf
# and install pinentry as well
args: with args;
stdenv.mkDerivation rec {
name = "gnupg-2.0.8";
src = fetchurl {
url = "mirror://gnupg/gnupg/${name}.tar.bz2";
sha256 = "04v9s92xph1hrhac49yyrgzdwjqshs2zawvjbi3jc2klwjpi1wqn";
};
buildInputs = [ readline openldap bzip2 zlib libgpgerror pth libgcrypt
libassuan libksba libusb curl ];
meta = {
description = "A free implementation of the OpenPGP standard for encrypting
and signing data, v2";
homepage = http://www.gnupg.org/;
};
}