2016-11-05 09:15:54 +00:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2004-08-25 17:11:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "saxon-6.5.3";
|
|
|
|
builder = ./unzip-builder.sh;
|
|
|
|
src = fetchurl {
|
2007-08-27 13:01:33 +00:00
|
|
|
url = mirror://sourceforge/saxon/saxon6_5_3.zip;
|
2004-08-25 17:11:52 +00:00
|
|
|
md5 = "7b8c7c187473c04d2abdb40d8ddab5c6";
|
|
|
|
};
|
|
|
|
|
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 16:06:29 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2004-08-25 17:11:52 +00:00
|
|
|
}
|