2008-04-11 15:22:35 +02:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-06-30 20:49:42 +02:00
|
|
|
name = "mpage-2.5.7";
|
2008-04-11 15:22:35 +02:00
|
|
|
src = fetchurl {
|
2018-06-23 19:19:34 +02:00
|
|
|
url = "http://www.mesa.nl/pub/mpage/${name}.tgz";
|
2018-06-30 20:49:42 +02:00
|
|
|
sha256 = "1zn37r5xrvjgjbw2bdkc0r7s6q8b1krmcryzj0yf0dyxbx79rasi";
|
2008-04-11 15:22:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i "Makefile" -e "s|^ *PREFIX *=.*$|PREFIX = $out|g"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Many-to-one page printing utility";
|
2008-04-11 15:22:35 +02: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
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.mesa.nl/pub/mpage/";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-04-11 15:22:35 +02:00
|
|
|
};
|
|
|
|
}
|