2022-01-19 23:45:15 +00:00
|
|
|
{ lib, stdenv, fetchurl, java, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "apache-jena";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "4.5.0";
|
2022-01-19 23:45:15 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dlcdn.apache.org/jena/binaries/apache-jena-${version}.tar.gz";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-/KHjhMNnqac2HG/yvHJa0MwdReX6XuexojaMgRFdaWo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
makeWrapper
|
|
|
|
];
|
|
|
|
installPhase = ''
|
|
|
|
cp -r . "$out"
|
|
|
|
for i in "$out"/bin/*; do
|
|
|
|
wrapProgram "$i" --prefix "PATH" : "${java}/bin/"
|
|
|
|
done
|
|
|
|
'';
|
2022-01-19 23:45:15 +00:00
|
|
|
meta = with lib; {
|
2021-01-17 00:15:33 +00:00
|
|
|
description = "RDF database";
|
2022-01-19 23:45:15 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://jena.apache.org";
|
|
|
|
downloadPage = "https://archive.apache.org/dist/jena/binaries/";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|