nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09 26 lines 533 B view raw
1{stdenv, fetchurl, unzip, jre}: 2 3stdenv.mkDerivation { 4 name = "saxonb-8.8"; 5 src = fetchurl { 6 url = mirror://sourceforge/saxon/saxonb8-8j.zip; 7 sha256 = "15bzrfyd2f1045rsp9dp4znyhmizh1pm97q8ji2bc0b43q23xsb8"; 8 }; 9 10 buildInputs = [unzip]; 11 12 buildCommand = " 13 unzip $src -d $out 14 mkdir -p $out/bin 15 cat > $out/bin/saxon8 <<EOF 16#! $shell 17export JAVA_HOME=${jre} 18exec ${jre}/bin/java -jar $out/saxon8.jar \"\\$@\" 19EOF 20 chmod a+x $out/bin/saxon8 21 "; 22 23 meta = { 24 platforms = stdenv.lib.platforms.unix; 25 }; 26}