Commit | Line | Data |
---|---|---|
233e7676 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org> | |
cc8e5e25 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
cc8e5e25 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
cc8e5e25 LC |
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 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
cc8e5e25 LC |
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 | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
cc8e5e25 | 18 | |
1ffa7090 | 19 | (define-module (gnu packages help2man) |
4a44e743 | 20 | #:use-module (guix licenses) |
cc8e5e25 LC |
21 | #:use-module (guix download) |
22 | #:use-module (guix packages) | |
23 | #:use-module (guix build-system gnu) | |
1ffa7090 | 24 | #:use-module (gnu packages perl)) |
cc8e5e25 LC |
25 | |
26 | (define-public help2man | |
27 | (package | |
28 | (name "help2man") | |
29 | (version "1.40.8") | |
30 | (source | |
31 | (origin | |
32 | (method url-fetch) | |
33 | (uri (string-append "mirror://gnu/help2man/help2man-" | |
34 | version ".tar.gz")) | |
35 | (sha256 | |
36 | (base32 | |
37 | "0s6phazn8jgvpbsby8kj2m58rj1zjghi1aipvamh8af226ssqfzj")))) | |
38 | (build-system gnu-build-system) | |
39 | (arguments `(;; There's no `check' target. | |
40 | #:tests? #f)) | |
41 | (inputs | |
42 | `(("perl" ,perl) | |
43 | ;; TODO: Add these optional dependencies. | |
44 | ;; ("perl-LocaleGettext" ,perl-LocaleGettext) | |
45 | ;; ("gettext" ,gettext) | |
46 | )) | |
47 | (home-page "http://www.gnu.org/software/help2man/") | |
48 | (synopsis "GNU help2man generates man pages from `--help' output") | |
49 | (description | |
50 | "help2man produces simple manual pages from the ‘--help’ and | |
51 | ‘--version’ output of other commands.") | |
4a44e743 | 52 | (license gpl3+))) |