2016-11-05 09:15:54 +00:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2004-08-25 18:11:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "saxon-6.5.3";
|
|
|
|
builder = ./unzip-builder.sh;
|
|
|
|
src = fetchurl {
|
2007-08-27 14:01:33 +01:00
|
|
|
url = mirror://sourceforge/saxon/saxon6_5_3.zip;
|
2016-11-11 03:06:31 +00:00
|
|
|
sha256 = "0l5y3y2z4wqgh80f26dwwxwncs8v3nkz3nidv14z024lmk730vs3";
|
2004-08-25 18:11:52 +01:00
|
|
|
};
|
|
|
|
|
2016-11-05 09:15:54 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
|
|
|
# still leaving in root as well, in case someone is relying on that
|
|
|
|
preFixup = ''
|
|
|
|
mkdir -p "$out/share/java"
|
|
|
|
cp -s "$out"/*.jar "$out/share/java/"
|
|
|
|
'';
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2004-08-25 18:11:52 +01:00
|
|
|
}
|