nixpkgs/pkgs/tools/text/mpage/default.nix
R. RyanTM 99d8edbc7d mpage: 2.5.6 -> 2.5.7 (#42689)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mpage/versions.

These checks were done:

- built on NixOS
- /nix/store/27fvqzw0vgbjadl2ngwggsz2gs3m4a15-mpage-2.5.7/bin/mpage passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 2.5.7 with grep in /nix/store/27fvqzw0vgbjadl2ngwggsz2gs3m4a15-mpage-2.5.7
- directory tree listing: https://gist.github.com/7deed27eaf23f2578d5dfcb1005b1a0c
- du listing: https://gist.github.com/e1cafa83fbe346375875854bf40a6057
2018-06-30 20:49:42 +02:00

29 lines
902 B
Nix

{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "mpage-2.5.7";
src = fetchurl {
url = "http://www.mesa.nl/pub/mpage/${name}.tgz";
sha256 = "1zn37r5xrvjgjbw2bdkc0r7s6q8b1krmcryzj0yf0dyxbx79rasi";
};
patchPhase = ''
sed -i "Makefile" -e "s|^ *PREFIX *=.*$|PREFIX = $out|g"
'';
meta = {
description = "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/;
platforms = stdenv.lib.platforms.linux;
};
}