summary refs log tree commit diff
path: root/pkgs/tools/typesetting/pdfjam/default.nix
blob: f8eafb221a3267111d7d923954a6b4acc658ed3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "pdfjam-${version}";
  version = "2.08";
  url-version = stdenv.lib.replaceChars ["."] [""] version;

  builder = ./builder.sh;

  src = fetchurl {
    url = "http://go.warwick.ac.uk/pdfjam/pdfjam_${url-version}.tgz";
    sha256 = "1wy0xhcy27d7agby598s20ba48s4yg5qkzr6anc6q1xdryccacf7";
  };

  meta = with stdenv.lib; {
    platforms = platforms.linux;
    maintainers = [ maintainers.mornfall ];
  };
}