forked from mirrors/nixpkgs
Added Saxon 6, an XSLT 1.0 processor implemented in Java.
svn path=/nixpkgs/trunk/; revision=1334
This commit is contained in:
parent
b6e5c1d7a5
commit
568efb4864
13
pkgs/development/libraries/java/saxon/default.nix
Normal file
13
pkgs/development/libraries/java/saxon/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "saxon-6.5.3";
|
||||
builder = ./unzip-builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://belnet.dl.sourceforge.net/sourceforge/saxon/saxon6_5_3.zip;
|
||||
md5 = "7b8c7c187473c04d2abdb40d8ddab5c6";
|
||||
};
|
||||
|
||||
inherit unzip;
|
||||
buildInputs = [unzip];
|
||||
}
|
3
pkgs/development/libraries/java/saxon/unzip-builder.sh
Executable file
3
pkgs/development/libraries/java/saxon/unzip-builder.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
. $stdenv/setup
|
||||
|
||||
unzip $src -d $out
|
|
@ -298,6 +298,10 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
saxon = (import ../development/libraries/java/saxon) {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
||||
sharedobjects = (import ../development/libraries/java/shared-objects) {
|
||||
j2sdk = j2sdk15;
|
||||
inherit fetchurl stdenv;
|
||||
|
|
Loading…
Reference in a new issue