2010-01-26 15:49:00 +01:00
|
|
|
{ stdenv, fetchurl, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-06-10 23:52:52 +02:00
|
|
|
name = "enscript-1.6.5.2";
|
2004-06-03 19:16:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-26 15:49:00 +01:00
|
|
|
url = "mirror://gnu/enscript/${name}.tar.gz";
|
2010-06-10 23:52:52 +02:00
|
|
|
sha256 = "0xfblj3liwf1zxpx8bdcl2dwqi2lkfm1zsl6ld9757kgnfyk6gnv";
|
2010-01-26 15:49:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gettext ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU Enscript, a converter from ASCII to PostScript, HTML, or RTF";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' GNU Enscript converts ASCII files to PostScript, HTML, or RTF and
|
|
|
|
stores generated output to a file or sends it directly to the
|
|
|
|
printer. It includes features for `pretty-printing'
|
|
|
|
(language-sensitive code highlighting) in several programming
|
|
|
|
languages.
|
|
|
|
|
|
|
|
Enscript can be easily extended to handle different output media and
|
|
|
|
it has many options that can be used to customize printouts.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "GPLv3+";
|
|
|
|
|
|
|
|
homepage = http://www.gnu.org/software/enscript/;
|
|
|
|
|
|
|
|
maintainer = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2004-06-03 19:16:16 +02:00
|
|
|
};
|
|
|
|
}
|