Author: ludo
Date: Tue Jan 31 15:31:23 2012
New Revision: 31947
URL: https://nixos.org/websvn/nix/?rev=31947&sc=1

Log:
GNU help2man 1.40.5.

Modified:
   nixpkgs/trunk/pkgs/development/tools/misc/help2man/default.nix

Modified: nixpkgs/trunk/pkgs/development/tools/misc/help2man/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/tools/misc/help2man/default.nix      Tue Jan 
31 15:02:38 2012        (r31946)
+++ nixpkgs/trunk/pkgs/development/tools/misc/help2man/default.nix      Tue Jan 
31 15:31:23 2012        (r31947)
@@ -1,11 +1,11 @@
 {stdenv, fetchurl, perl, gettext, LocaleGettext}:
 
-stdenv.mkDerivation {
-  name = "help2man-1.36.1";
+stdenv.mkDerivation rec {
+  name = "help2man-1.40.5";
 
   src = fetchurl {
-    url = http://ftp.gnu.org/gnu/help2man/help2man-1.36.1.tar.gz;
-    sha256 = "13w20lfvggzhvzs9dinxbhwdd61svsacfv9d78zfl9lf1syb5i1f";
+    url = "mirror://gnu/help2man/${name}.tar.gz";
+    sha256 = "1d1wn9krvf9mp97c224710n1pcfh73p7w7na65zn2a06124rln8k";
   };
 
   buildInputs = [
@@ -14,8 +14,20 @@
     LocaleGettext
   ];
 
-  # So that configure can find `preloadable_libintl.so'.
-  LD_LIBRARY_PATH = "${gettext}/lib";
+  doCheck = false;                                # target `check' is missing
 
-  inherit gettext;
+  meta = {
+    description = "GNU help2man generates man pages from `--help' output";
+
+    longDescription =
+      '' help2man produces simple manual pages from the ‘--help’ and
+         ‘--version’ output of other commands.
+      '';
+
+    homepage = http://www.gnu.org/software/help2man/;
+
+    license = "GPLv3+";
+    platforms = stdenv.lib.platforms.gnu;         # arbitrary choice
+    maintainers = [ stdenv.lib.maintainers.ludo ];
+  };
 }
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to