forked from mirrors/nixpkgs
pdfjam: update from 1.20 to 2.08
This commit is contained in:
parent
b1e52be91d
commit
65242d4a74
|
@ -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
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue