Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
a24b75d8 | 2 | ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> |
db32c281 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
db32c281 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
db32c281 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 |
db32c281 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/>. |
db32c281 | 18 | |
1ffa7090 | 19 | (define-module (gnu packages texinfo) |
4a44e743 | 20 | #:use-module (guix licenses) |
db32c281 LC |
21 | #:use-module (guix packages) |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu) | |
1ffa7090 | 24 | #:use-module (gnu packages compression) |
a24b75d8 | 25 | #:use-module (gnu packages perl) |
1ffa7090 | 26 | #:use-module (gnu packages ncurses)) |
db32c281 LC |
27 | |
28 | (define-public texinfo | |
29 | (package | |
30 | (name "texinfo") | |
a24b75d8 LC |
31 | (version "5.0") |
32 | (source (origin | |
33 | (method url-fetch) | |
34 | (uri (string-append "mirror://gnu/texinfo/texinfo-" | |
35 | version ".tar.xz")) | |
36 | (sha256 | |
37 | (base32 | |
38 | "1p34f68h9ggfj6ckgj0p62qlj7pmz3ha3vc91kh4hr44pnwm1pla")))) | |
db32c281 | 39 | (build-system gnu-build-system) |
f6d7be1e | 40 | (inputs `(("ncurses" ,ncurses) |
a24b75d8 | 41 | ("xz" ,xz))) |
f6d7be1e LC |
42 | ;; TODO: Remove Perl from here when 'patch-shebang' DTRT with /usr/bin/env. |
43 | (propagated-inputs `(("perl" ,perl))) ; yuck! | |
a24b75d8 LC |
44 | (home-page "http://www.gnu.org/software/texinfo/") |
45 | (synopsis "GNU Texinfo, the GNU documentation system") | |
db32c281 LC |
46 | (description |
47 | "Texinfo is the official documentation format of the GNU project. | |
48 | It was invented by Richard Stallman and Bob Chassell many years | |
49 | ago, loosely based on Brian Reid's Scribe and other formatting | |
50 | languages of the time. It is used by many non-GNU projects as | |
51 | well. | |
52 | ||
53 | Texinfo uses a single source file to produce output in a number | |
54 | of formats, both online and printed (dvi, html, info, pdf, xml, | |
55 | etc.). This means that instead of writing different documents | |
56 | for online information and another for a printed manual, you | |
57 | need write only one document. And when the work is revised, you | |
58 | need revise only that one document. The Texinfo system is | |
59 | well-integrated with GNU Emacs.") | |
4a44e743 | 60 | (license gpl3+))) |