5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
27 lines
751 B
Nix
27 lines
751 B
Nix
{ lib, stdenv, fetchurl, java, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apache-jena";
|
|
version = "4.9.0";
|
|
src = fetchurl {
|
|
url = "mirror://apache/jena/binaries/apache-jena-${version}.tar.gz";
|
|
hash = "sha256-kUsEdEKwYjyM5G8YKTt90fWzX21hiulRj3W5jK45Keg=";
|
|
};
|
|
nativeBuildInputs = [
|
|
makeWrapper
|
|
];
|
|
installPhase = ''
|
|
cp -r . "$out"
|
|
for i in "$out"/bin/*; do
|
|
wrapProgram "$i" --prefix "PATH" : "${java}/bin/"
|
|
done
|
|
'';
|
|
meta = with lib; {
|
|
description = "RDF database";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.linux;
|
|
homepage = "https://jena.apache.org";
|
|
downloadPage = "https://archive.apache.org/dist/jena/binaries/";
|
|
};
|
|
}
|