A pkgs/tools/typesetting/pdfjam
A pkgs/tools/typesetting/pdfjam/builder.sh A pkgs/tools/typesetting/pdfjam/default.nix Added pdfjam, a package with the following tools: * pdfnup, which allows PDF files to be "n-upped" in roughly the way that psnup does for PostScript files. * pdfjoin, which concatenates the pages of multiple PDF files together into a single file * pdf90, which rotates the pages of one or more PDF files through 90 degrees (anti-clockwise). M pkgs/development/compilers/jdk/jdk6-linux.nix Typo svn path=/nixpkgs/trunk/; revision=8404
This commit is contained in:
parent
3463f1deeb
commit
778d516e41
@ -32,7 +32,7 @@ assert swingSupport -> xlibs != null;
|
||||
/**
|
||||
* If jdk5 is added, make sure to use the original construct script.
|
||||
* This copy removes references to kinit, klist, ktab, which seem to be
|
||||
* gone in jdk.
|
||||
* gone in jdk6.
|
||||
*/
|
||||
construct = ./jdk6-construct.sh;
|
||||
inherit installjdk;
|
||||
|
9
pkgs/tools/typesetting/pdfjam/builder.sh
Normal file
9
pkgs/tools/typesetting/pdfjam/builder.sh
Normal file
@ -0,0 +1,9 @@
|
||||
source $stdenv/setup
|
||||
|
||||
tar zxvf $src
|
||||
|
||||
ensureDir $out/bin
|
||||
cp pdfjam/scripts/* $out/bin
|
||||
|
||||
ensureDir $out/man/man1
|
||||
cp pdfjam/man1/* $out/man/man1
|
8
pkgs/tools/typesetting/pdfjam/default.nix
Normal file
8
pkgs/tools/typesetting/pdfjam/default.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||
name = "pdfjam-1.20";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.warwick.ac.uk/go/pdfjam/pdfjam_1.20.tgz;
|
||||
sha256 = "05g3mx7mb6h15ivbv0f53r369xphy8ad8a2xblpnk9mrnlrkaxy9";
|
||||
};
|
||||
}
|
@ -460,6 +460,10 @@ rec {
|
||||
inherit fetchurl stdenv zlib;
|
||||
};
|
||||
|
||||
pdfjam = import ../tools/typesetting/pdfjam {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
ploticus = import ../tools/graphics/ploticus {
|
||||
inherit fetchurl stdenv zlib libpng;
|
||||
inherit (xlibs) libX11;
|
||||
|
Loading…
Reference in New Issue
Block a user