nixpkgs/pkgs/tools/security/gnupg2/default.nix
Marc Weber d3a5cca1a1 Added pinentry (now needed to generate gnupg2 keys)
There are different versions (qt/gtk and console)
Shall we strive for a solution working out of the box (see comments in gnupg2)
I think a gui pinentry is more suitable because it also works invoked from guil email clients

svn path=/nixpkgs/trunk/; revision=11695
2008-04-23 19:42:10 +00:00

20 lines
630 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 {
name = "gnupg-2.0.8";
src = fetchurl {
url = ftp://ftp.cert.dfn.de/pub/tools/crypt/gcrypt/gnupg/gnupg-2.0.8.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/;
};
}