diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-04-11 13:22:35 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-04-11 13:22:35 +0000 |
commit | 4ca098cdbc82280c5082179ff043e0030ed9088e (patch) | |
tree | 0e284f4dea1e41285393d4b8de91fe2b0b105721 /pkgs/tools | |
parent | 75222355dbfd52dc81947f359cbbdb29cf3374a1 (diff) |
Add Mpage, a tool to print multiple pages per sheet on a PostScript printer.
svn path=/nixpkgs/trunk/; revision=11572
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/text/mpage/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/text/mpage/default.nix b/pkgs/tools/text/mpage/default.nix new file mode 100644 index 0000000000000..5b95c37c732d0 --- /dev/null +++ b/pkgs/tools/text/mpage/default.nix @@ -0,0 +1,28 @@ +{ fetchurl, stdenv }: + +stdenv.mkDerivation rec { + name = "mpage-2.5.6"; + src = fetchurl { + url = "http://www.mesa.nl/pub/mpage/${name}.tgz"; + sha256 = "016w9sm06sn1d2lim4p8fzl6wbmad3wigxhflsybzi7p4zy6vrjg"; + }; + + patchPhase = '' + sed -i "Makefile" -e "s|^ *PREFIX *=.*$|PREFIX = $out|g" + ''; + + meta = { + description = "Mpage, many-to-one page printing utility"; + + longDescription = '' + Mpage reads plain text files or PostScript documents and prints + them on a PostScript printer with the text reduced in size so + that several pages appear on one sheet of paper. This is useful + for viewing large printouts on a small amount of paper. It uses + ISO 8859.1 to print 8-bit characters. + ''; + + license = "liberal"; # a non-copyleft license, see `Copyright' file + homepage = http://www.mesa.nl/pub/mpage/; + }; +} |