nixpkgs/pkgs/development/libraries/java/saxon/default.nix
2016-11-05 10:17:44 +01:00

23 lines
493 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
name = "saxon-6.5.3";
builder = ./unzip-builder.sh;
src = fetchurl {
url = mirror://sourceforge/saxon/saxon6_5_3.zip;
md5 = "7b8c7c187473c04d2abdb40d8ddab5c6";
};
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/"
'';
meta = {
platforms = stdenv.lib.platforms.unix;
};
}