2008-04-11 14:22:35 +01:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mpage-2.5.6";
|
|
|
|
src = fetchurl {
|
2018-02-24 13:12:44 +00:00
|
|
|
url = "http://www.libGLU_combined.nl/pub/mpage/${name}.tgz";
|
2008-04-11 14:22:35 +01:00
|
|
|
sha256 = "016w9sm06sn1d2lim4p8fzl6wbmad3wigxhflsybzi7p4zy6vrjg";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i "Makefile" -e "s|^ *PREFIX *=.*$|PREFIX = $out|g"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Many-to-one page printing utility";
|
2008-04-11 14:22:35 +01:00
|
|
|
|
|
|
|
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
|
2018-02-24 13:12:44 +00:00
|
|
|
homepage = http://www.libGLU_combined.nl/pub/mpage/;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-04-11 14:22:35 +01:00
|
|
|
};
|
|
|
|
}
|