8863a06fff
svn path=/nixpkgs/trunk/; revision=20472
37 lines
1 KiB
Nix
37 lines
1 KiB
Nix
{ stdenv, fetchurl, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "enscript-1.6.5.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/enscript/${name}.tar.gz";
|
|
sha256 = "12zmd3iibpdwpgk10pwd71111dfh31x37xy6cllb1g243in3bgsp";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|