2009-01-12 21:20:18 +01:00
|
|
|
# Remember to install Pinentry and
|
|
|
|
# 'echo "pinentry-program `which pinentry-gtk-2`" >> ~/.gnupg/gpg-agent.conf'.
|
|
|
|
|
|
|
|
{ fetchurl, stdenv, readline, openldap, bzip2, zlib, libgpgerror
|
|
|
|
, pth, libgcrypt, libassuan, libksba, libusb, curl }:
|
2008-04-23 21:42:10 +02:00
|
|
|
|
2008-09-09 11:06:01 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2009-03-04 14:41:52 +01:00
|
|
|
name = "gnupg-2.0.11";
|
2008-09-09 11:06:01 +02:00
|
|
|
|
2008-01-28 20:45:57 +01:00
|
|
|
src = fetchurl {
|
2008-09-09 11:06:01 +02:00
|
|
|
url = "mirror://gnupg/gnupg/${name}.tar.bz2";
|
2009-03-04 14:41:52 +01:00
|
|
|
sha256 = "0z5lm0zz8l8yn61jbbyy0frrbhsjyvmq8pxwhgjsgx3isj518h4c";
|
2008-01-28 20:45:57 +01:00
|
|
|
};
|
2008-09-09 11:06:01 +02:00
|
|
|
|
2008-01-28 20:45:57 +01:00
|
|
|
buildInputs = [ readline openldap bzip2 zlib libgpgerror pth libgcrypt
|
|
|
|
libassuan libksba libusb curl ];
|
|
|
|
|
2009-01-12 21:20:18 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2008-01-28 20:45:57 +01:00
|
|
|
meta = {
|
2009-01-12 21:20:18 +01:00
|
|
|
description = "GNU Privacy Guard (GnuPG), GNU Project's implementation of the OpenPGP standard";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GnuPG is the GNU project's complete and free implementation of
|
|
|
|
the OpenPGP standard as defined by RFC4880. GnuPG allows to
|
|
|
|
encrypt and sign your data and communication, features a
|
|
|
|
versatile key managment system as well as access modules for all
|
|
|
|
kind of public key directories. GnuPG, also known as GPG, is a
|
|
|
|
command line tool with features for easy integration with other
|
|
|
|
applications. A wealth of frontend applications and libraries
|
|
|
|
are available. Version 2 of GnuPG also provides support for
|
|
|
|
S/MIME.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://gnupg.org/;
|
2009-03-04 14:41:52 +01:00
|
|
|
|
|
|
|
license = "GPLv3+";
|
2008-01-28 20:45:57 +01:00
|
|
|
};
|
|
|
|
}
|