2022-01-19 23:45:15 +00:00
|
|
|
{ lib, stdenv, fetchurl, java, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "apache-jena";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "5.0.0";
|
2022-01-19 23:45:15 +00:00
|
|
|
src = fetchurl {
|
2023-05-24 13:37:59 +00:00
|
|
|
url = "mirror://apache/jena/binaries/apache-jena-${version}.tar.gz";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-Se47rsgp8V6Ypv0QHrwjIXrDPchM1nSl/GmUWMEvLIo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-08-21 13:32:41 +00:00
|
|
|
nativeBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|