mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
28 lines
762 B
Nix
28 lines
762 B
Nix
{ lib, stdenv, fetchurl, java, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apache-jena";
|
|
version = "4.6.0";
|
|
src = fetchurl {
|
|
url = "https://dlcdn.apache.org/jena/binaries/apache-jena-${version}.tar.gz";
|
|
sha256 = "sha256-1fNl6O9FVLzBx4U+4E72GY60UGMSRFdKNxIrPdcb/aA=";
|
|
};
|
|
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/";
|
|
};
|
|
}
|