mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
a2ps: new package
This commit is contained in:
parent
502c791611
commit
aaeba728b3
31
pkgs/tools/text/a2ps/default.nix
Normal file
31
pkgs/tools/text/a2ps/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl, libpaper, gperf, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "a2ps-4.14";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/a2ps/${name}.tar.gz";
|
||||
sha256 = "195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace afm/make_fonts_map.sh --replace "/bin/rm" "rm"
|
||||
substituteInPlace tests/defs.in --replace "/bin/rm" "rm"
|
||||
'';
|
||||
|
||||
buildInputs = [ libpaper gperf file ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An Anyithing to PostScript converter and pretty-printer";
|
||||
longDescription = ''
|
||||
GNU a2ps converts files into PostScript for printing or viewing. It uses a nice default format,
|
||||
usually two pages on each physical page, borders surrounding pages, headers with useful information
|
||||
(page number, printing date, file name or supplied header), line numbering, symbol substitution as
|
||||
well as pretty printing for a wide range of programming languages.
|
||||
'';
|
||||
homepage = http://www.inf.enst.fr/~demaille/a2ps/index.html;
|
||||
license = gpl3Plus;
|
||||
maintainers = [ maintainers.bennofs ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
};
|
||||
}
|
@ -474,6 +474,8 @@ let
|
||||
glibc = glibc.override { debugSymbols = true; };
|
||||
};
|
||||
|
||||
a2ps = callPackage ../tools/text/a2ps { };
|
||||
|
||||
abduco = callPackage ../tools/misc/abduco { };
|
||||
|
||||
acbuild = callPackage ../applications/misc/acbuild { };
|
||||
|
Loading…
Reference in New Issue
Block a user