3
0
Fork 0
forked from mirrors/nixpkgs

pdfjam: update from 1.20 to 2.08

This commit is contained in:
Pascal Wittmann 2014-10-04 22:34:25 +02:00
parent b1e52be91d
commit 65242d4a74
2 changed files with 12 additions and 5 deletions

View file

@ -3,7 +3,7 @@ source $stdenv/setup
tar zxvf $src
mkdir -p $out/bin
cp pdfjam/scripts/* $out/bin
cp pdfjam/bin/* $out/bin
mkdir -p $out/man/man1
cp pdfjam/man1/* $out/man/man1

View file

@ -1,10 +1,17 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "pdfjam-1.20";
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "pdfjam-${version}";
version = "2.08";
url-version = stdenv.lib.replaceChars ["."] [""] version;
builder = ./builder.sh;
src = fetchurl {
url = http://www.warwick.ac.uk/go/pdfjam/pdfjam_1.20.tgz;
sha256 = "05g3mx7mb6h15ivbv0f53r369xphy8ad8a2xblpnk9mrnlrkaxy9";
url = "http://go.warwick.ac.uk/pdfjam/pdfjam_${url-version}.tgz";
sha256 = "1wy0xhcy27d7agby598s20ba48s4yg5qkzr6anc6q1xdryccacf7";
};
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = [ maintainers.mornfall ];