91a914da3f
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/hw41ds5rdx4shi4712c5njz4wrp5kyp0-apache-jena-fuseki-3.6.0/bin/fuseki-server -h` got 0 exit code - ran `/nix/store/hw41ds5rdx4shi4712c5njz4wrp5kyp0-apache-jena-fuseki-3.6.0/bin/fuseki-server --help` got 0 exit code - ran `/nix/store/hw41ds5rdx4shi4712c5njz4wrp5kyp0-apache-jena-fuseki-3.6.0/bin/fuseki-server --version` and found version 3.6.0 - found 3.6.0 with grep in /nix/store/hw41ds5rdx4shi4712c5njz4wrp5kyp0-apache-jena-fuseki-3.6.0 - directory tree listing: https://gist.github.com/68036e0a33596f731e456c34f3606cdd
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{stdenv, fetchurl, java, makeWrapper}:
|
|
let
|
|
s = # Generated upstream information
|
|
rec {
|
|
baseName="apache-jena-fuseki";
|
|
version = "3.6.0";
|
|
name="${baseName}-${version}";
|
|
url="http://archive.apache.org/dist/jena/binaries/apache-jena-fuseki-${version}.tar.gz";
|
|
sha256 = "0wmhfr1jlk34cimpz7gvfbi4bh8ki02acbmwdksnkal61f2dxj8q";
|
|
};
|
|
buildInputs = [
|
|
makeWrapper
|
|
];
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit (s) name version;
|
|
inherit buildInputs;
|
|
src = fetchurl {
|
|
inherit (s) url sha256;
|
|
};
|
|
installPhase = ''
|
|
cp -r . "$out"
|
|
ln -s "$out"/{fuseki-server,fuseki} "$out/bin"
|
|
for i in "$out"/bin/*; do
|
|
wrapProgram "$i" \
|
|
--prefix "PATH" : "${java}/bin/" \
|
|
--set-default "FUSEKI_HOME" "$out" \
|
|
;
|
|
done
|
|
'';
|
|
meta = {
|
|
inherit (s) version;
|
|
description = ''SPARQL server'';
|
|
license = stdenv.lib.licenses.asl20;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
homepage = http://jena.apache.org;
|
|
downloadPage = "http://archive.apache.org/dist/jena/binaries/";
|
|
downloadURLRegexp = "apache-jena-fuseki-.*[.]tar[.]gz\$";
|
|
};
|
|
}
|