Add Mpage, a tool to print multiple pages per sheet on a PostScript printer.
svn path=/nixpkgs/trunk/; revision=11572
This commit is contained in:
parent
75222355db
commit
4ca098cdbc
28
pkgs/tools/text/mpage/default.nix
Normal file
28
pkgs/tools/text/mpage/default.nix
Normal file
@ -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/;
|
||||||
|
};
|
||||||
|
}
|
@ -807,6 +807,10 @@ let pkgs = rec {
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mpage = import ../tools/text/mpage {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
msfFun = builderDefsPackage (selectVersion ../tools/security/metasploit "3.1") {
|
msfFun = builderDefsPackage (selectVersion ../tools/security/metasploit "3.1") {
|
||||||
inherit ruby makeWrapper;
|
inherit ruby makeWrapper;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user