diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-01-10 23:35:15 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-01-10 23:35:15 +0000 |
commit | 68eec57920bef4e63c0172066a94adcd312fe146 (patch) | |
tree | 6f0c0a6918dfa8a6f44b9cc2907e02e16afb4270 /pkgs/tools/text/groff | |
parent | fe07ca76d07275ef2a95f7df703bd814b86bb88b (diff) |
GNU Troff 1.20.1.
svn path=/nixpkgs/trunk/; revision=13733
Diffstat (limited to 'pkgs/tools/text/groff')
-rw-r--r-- | pkgs/tools/text/groff/default.nix | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix index fde60a4e5f6a..060e5d5e2c70 100644 --- a/pkgs/tools/text/groff/default.nix +++ b/pkgs/tools/text/groff/default.nix @@ -1,9 +1,34 @@ -{stdenv, fetchurl}: +{ stdenv, fetchurl, ghostscript, perl }: + +stdenv.mkDerivation rec { + name = "groff-1.20.1"; -stdenv.mkDerivation { - name = "groff-1.19.2"; src = fetchurl { - url = ftp://ftp.gnu.org/gnu/groff/groff-1.19.2.tar.gz; - md5 = "f7c9cf2e4b9967d3af167d7c9fadaae4"; + url = "mirror://gnu/groff/${name}.tar.gz"; + sha256 = "01fq5i68p4s4fc6m8i90y5d28wk1x6zh2mkw85n0qqnb6n0qfidn"; + }; + + buildInputs = [ ghostscript perl ]; + + doCheck = true; + + meta = { + description = "GNU Troff, a typesetting package that reads plain text and produces formatted output"; + + longDescription = '' + groff is the GNU implementation of troff, a document formatting + system. Included in this release are implementations of troff, + pic, eqn, tbl, grn, refer, -man, -mdoc, -mom, and -ms macros, + and drivers for PostScript, TeX dvi format, HP LaserJet 4 + printers, Canon CAPSL printers, HTML and XHTML format (beta + status), and typewriter-like devices. Also included is a + modified version of the Berkeley -me macros, the enhanced + version gxditview of the X11 xditview previewer, and an + implementation of the -mm macros. + ''; + + homepage = http://www.gnu.org/software/groff/; + + license = "GPLv3+"; }; } |