summary refs log blame commit diff
path: root/pkgs/tools/text/groff/default.nix
blob: 060e5d5e2c70b7e5ce39e3121aa9a43f069f4e0d (plain) (tree)
1
2
3
4
5
6



                                        
 
                  

























                                                                                                         

    
{ stdenv, fetchurl, ghostscript, perl }:

stdenv.mkDerivation rec {
  name = "groff-1.20.1";

  src = fetchurl {
    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+";
  };
}