summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-19 21:42:11 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-19 21:42:11 +0100
commitcc8e5e25b4bc409b9dddfc0fe09b1958b6f7ae9e (patch)
tree7b50b4a51292c22aa28a5b231b256ebe6ab3e0fa /distro
parent1df895b00b8d1912c152d59cf742cd49f43747cd (diff)
distro: Add GNU help2man.
* distro/packages/help2man.scm: New file. * Makefile.am (MODULES): Add it.
Diffstat (limited to 'distro')
-rw-r--r--distro/packages/help2man.scm51
1 files changed, 51 insertions, 0 deletions
diff --git a/distro/packages/help2man.scm b/distro/packages/help2man.scm
new file mode 100644
index 00000000000..51896f7704c
--- /dev/null
+++ b/distro/packages/help2man.scm
@@ -0,0 +1,51 @@
1;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*-
2;;; Copyright (C) 2012 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of Guix.
5;;;
6;;; Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (distro packages help2man)
20 #:use-module (guix download)
21 #:use-module (guix packages)
22 #:use-module (guix build-system gnu)
23 #:use-module (distro packages perl))
24
25(define-public help2man
26 (package
27 (name "help2man")
28 (version "1.40.8")
29 (source
30 (origin
31 (method url-fetch)
32 (uri (string-append "mirror://gnu/help2man/help2man-"
33 version ".tar.gz"))
34 (sha256
35 (base32
36 "0s6phazn8jgvpbsby8kj2m58rj1zjghi1aipvamh8af226ssqfzj"))))
37 (build-system gnu-build-system)
38 (arguments `(;; There's no `check' target.
39 #:tests? #f))
40 (inputs
41 `(("perl" ,perl)
42 ;; TODO: Add these optional dependencies.
43 ;; ("perl-LocaleGettext" ,perl-LocaleGettext)
44 ;; ("gettext" ,gettext)
45 ))
46 (home-page "http://www.gnu.org/software/help2man/")
47 (synopsis "GNU help2man generates man pages from `--help' output")
48 (description
49 "help2man produces simple manual pages from the ‘--help’ and
50‘--version’ output of other commands.")
51 (license "GPLv3+")))