diff options
Diffstat (limited to 'pkgs/tools/security/gnupg/1.nix')
-rw-r--r-- | pkgs/tools/security/gnupg/1.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/security/gnupg/1.nix b/pkgs/tools/security/gnupg/1.nix new file mode 100644 index 00000000000..d5045806e0c --- /dev/null +++ b/pkgs/tools/security/gnupg/1.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, readline, bzip2 }: + +stdenv.mkDerivation rec { + name = "gnupg-1.4.19"; + + src = fetchurl { + url = "mirror://gnupg/gnupg/${name}.tar.bz2"; + sha256 = "7f09319d044b0f6ee71fe3587bb873be701723ac0952cff5069046a78de8fd86"; + }; + + patches = [ ./remove-debug-message.patch ]; + + buildInputs = [ readline bzip2 ]; + + doCheck = true; + + meta = { + description = "free implementation of the OpenPGP standard for encrypting and signing data"; + homepage = http://www.gnupg.org/; + license = stdenv.lib.licenses.gpl3Plus; + platforms = stdenv.lib.platforms.gnu; # arbitrary choice + }; +} |