nixpkgs/pkgs/tools/security/gnupg2/default.nix

23 lines
605 B
Nix
Raw Normal View History

# 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/;
};
}