summary refs log tree commit diff
path: root/pkgs/development/tools/misc/help2man
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-01-31 15:31:23 +0000
committerLudovic Courtès <ludo@gnu.org>2012-01-31 15:31:23 +0000
commit27100c36c4250052af6bc96d3e5b630e0fb2b1ce (patch)
tree90f5a6cebabd560f1d562ffcda6e5664b8b69285 /pkgs/development/tools/misc/help2man
parent38391383f0376f7fe21db44e56af0b888b9408a0 (diff)
downloadnixpkgs-27100c36c4250052af6bc96d3e5b630e0fb2b1ce.tar
nixpkgs-27100c36c4250052af6bc96d3e5b630e0fb2b1ce.tar.gz
nixpkgs-27100c36c4250052af6bc96d3e5b630e0fb2b1ce.tar.bz2
nixpkgs-27100c36c4250052af6bc96d3e5b630e0fb2b1ce.tar.lz
nixpkgs-27100c36c4250052af6bc96d3e5b630e0fb2b1ce.tar.xz
nixpkgs-27100c36c4250052af6bc96d3e5b630e0fb2b1ce.tar.zst
nixpkgs-27100c36c4250052af6bc96d3e5b630e0fb2b1ce.zip
GNU help2man 1.40.5.
svn path=/nixpkgs/trunk/; revision=31947
Diffstat (limited to 'pkgs/development/tools/misc/help2man')
-rw-r--r--pkgs/development/tools/misc/help2man/default.nix26
1 files changed, 19 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/help2man/default.nix b/pkgs/development/tools/misc/help2man/default.nix
index 6f131e7abe7..746a489c174 100644
--- a/pkgs/development/tools/misc/help2man/default.nix
+++ b/pkgs/development/tools/misc/help2man/default.nix
@@ -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 @@ stdenv.mkDerivation {
     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 ];
+  };
 }