14 stdenv.mkDerivation rec {
19 url = "mirror://gnu/a2ps/a2ps-${version}.tar.gz";
20 hash = "sha256-h/+dgByxGWkYHVuM+LZeZeWyS7DHahuCXoCY8pBvvfQ=";
24 substituteInPlace afm/make_fonts_map.sh --replace "/bin/rm" "rm"
25 substituteInPlace tests/defs.in --replace "/bin/rm" "rm"
28 nativeBuildInputs = [ autoconf bison file perl pkg-config ];
29 buildInputs = [ boehmgc gperf libpaper ];
34 description = "Anything to PostScript converter and pretty-printer";
36 GNU a2ps converts files into PostScript for printing or viewing. It uses a nice default format,
37 usually two pages on each physical page, borders surrounding pages, headers with useful information
38 (page number, printing date, file name or supplied header), line numbering, symbol substitution as
39 well as pretty printing for a wide range of programming languages.
41 homepage = "https://www.gnu.org/software/a2ps/";
42 license = licenses.gpl3Plus;
43 maintainers = [ maintainers.bennofs ];
44 platforms = platforms.unix;