2022-01-16 17:35:27 +00:00
|
|
|
{ lib, stdenv, fetchurl, java, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "apache-jena";
|
2023-11-03 07:00:58 +00:00
|
|
|
version = "4.10.0";
|
2022-01-16 17:35:27 +00:00
|
|
|
src = fetchurl {
|
2023-05-10 09:29:37 +00:00
|
|
|
url = "mirror://apache/jena/binaries/apache-jena-${version}.tar.gz";
|
2023-11-03 07:00:58 +00:00
|
|
|
hash = "sha256-G2kCh5F2WfrSOCr+fEO02mlOSVfV2Oy3uZGNEarLR+M=";
|
2014-09-24 14:10:01 +00:00
|
|
|
};
|
2022-07-14 18:20:09 +00:00
|
|
|
nativeBuildInputs = [
|
2014-09-24 14:10:01 +00:00
|
|
|
makeWrapper
|
|
|
|
];
|
|
|
|
installPhase = ''
|
|
|
|
cp -r . "$out"
|
|
|
|
for i in "$out"/bin/*; do
|
|
|
|
wrapProgram "$i" --prefix "PATH" : "${java}/bin/"
|
|
|
|
done
|
|
|
|
'';
|
2022-01-16 17:35:27 +00:00
|
|
|
meta = with lib; {
|
2021-01-16 04:20:42 +00:00
|
|
|
description = "RDF database";
|
2022-01-16 17:35:27 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
2022-01-03 15:53:12 +00:00
|
|
|
homepage = "https://jena.apache.org";
|
|
|
|
downloadPage = "https://archive.apache.org/dist/jena/binaries/";
|
2014-09-24 14:10:01 +00:00
|
|
|
};
|
|
|
|
}
|