nixpkgs-suyu/pkgs/servers/nosql/apache-jena/fuseki-binary.nix

42 lines
1.1 KiB
Nix
Raw Normal View History

{stdenv, fetchurl, java, makeWrapper}:
let
s = # Generated upstream information
rec {
baseName="apache-jena-fuseki";
apache-jena-fuseki: 3.7.0 -> 3.8.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/apache-jena-fuseki/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.fuseki-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/fuseki had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.fuseki-server-wrapped had a zero exit code or showed the expected version - /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/fuseki-server passed the binary check. - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-delete-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-delete had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-get-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-get had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-head-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-head had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-post-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-post had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-put-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-put had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-query-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-query had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-update-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-update had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-update-form-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-update-form had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.soh-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/soh had a zero exit code or showed the expected version - 1 of 22 passed binary check by having a zero exit code. - 0 of 22 passed binary check by having the new version present in output. - found 3.8.0 with grep in /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0 - directory tree listing: https://gist.github.com/2403f38b197834ff0ef5bd15d4a313bc - du listing: https://gist.github.com/85a408dc989753cdca73ef553ee6d548
2018-07-04 08:40:30 +02:00
version = "3.8.0";
name="${baseName}-${version}";
url="http://archive.apache.org/dist/jena/binaries/apache-jena-fuseki-${version}.tar.gz";
apache-jena-fuseki: 3.7.0 -> 3.8.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/apache-jena-fuseki/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.fuseki-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/fuseki had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.fuseki-server-wrapped had a zero exit code or showed the expected version - /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/fuseki-server passed the binary check. - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-delete-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-delete had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-get-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-get had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-head-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-head had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-post-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-post had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-put-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-put had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-query-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-query had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-update-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-update had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.s-update-form-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/s-update-form had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/.soh-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0/bin/soh had a zero exit code or showed the expected version - 1 of 22 passed binary check by having a zero exit code. - 0 of 22 passed binary check by having the new version present in output. - found 3.8.0 with grep in /nix/store/9jxxnylr0z89yaqi1g9hl909z0a7aw0a-apache-jena-fuseki-3.8.0 - directory tree listing: https://gist.github.com/2403f38b197834ff0ef5bd15d4a313bc - du listing: https://gist.github.com/85a408dc989753cdca73ef553ee6d548
2018-07-04 08:40:30 +02:00
sha256 = "0jca96996zl3f1qc15sfv45n09rnnv24qxv87y16dnwnyc1ism0a";
};
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\$";
};
}