From 27100c36c4250052af6bc96d3e5b630e0fb2b1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 31 Jan 2012 15:31:23 +0000 Subject: [PATCH] GNU help2man 1.40.5. svn path=/nixpkgs/trunk/; revision=31947 --- .../tools/misc/help2man/default.nix | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/misc/help2man/default.nix b/pkgs/development/tools/misc/help2man/default.nix index 6f131e7abe78..746a489c1742 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 ]; + }; }