summary refs log tree commit diff
path: root/pkgs/development/libraries/libgpg-error
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libgpg-error')
-rw-r--r--pkgs/development/libraries/libgpg-error/default.nix24
1 files changed, 21 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libgpg-error/default.nix b/pkgs/development/libraries/libgpg-error/default.nix
index 05128094589..7554ec0e2f9 100644
--- a/pkgs/development/libraries/libgpg-error/default.nix
+++ b/pkgs/development/libraries/libgpg-error/default.nix
@@ -1,9 +1,27 @@
 {stdenv, fetchurl}:
 
 stdenv.mkDerivation rec {
-  name = "libgpg-error-1.4";
+  name = "libgpg-error-1.7";
+
   src = fetchurl {
-    url = "mirror://gnupg/libgpg-error/${name}.tar.gz";
-    sha256 = "06fn9rshrm7r49fkjc17xg39nz37kyda2l13qqgzjg69zz2pxxpz";
+    url = "mirror://gnupg/libgpg-error/${name}.tar.bz2";
+    sha256 = "14as9cpm4k9c6lxm517s9vzqrmjmdpf8i4s41k355xc27qdk6083";
   };
+
+  doCheck = true;
+
+  meta = {
+    description = "Libgpg-error, a small library that defines common error values for all GnuPG components";
+
+    longDescription = ''
+      Libgpg-error is a small library that defines common error values
+      for all GnuPG components.  Among these are GPG, GPGSM, GPGME,
+      GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SmartCard
+      Daemon and possibly more in the future.
+    '';
+
+    homepage = http://gnupg.org;
+
+    license = "LGPLv2+";
+  };    
 }