depot/third_party/nixpkgs/pkgs/servers/nosql/apache-jena/binary.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

27 lines
751 B
Nix

{ lib, stdenv, fetchurl, java, makeWrapper }:
stdenv.mkDerivation rec {
pname = "apache-jena";
version = "5.2.0";
src = fetchurl {
url = "mirror://apache/jena/binaries/apache-jena-${version}.tar.gz";
hash = "sha256-M2WbqXHAL77fu9khTgb7BOe0mLgmU0Rcf9KN4KmvYAU=";
};
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/";
};
}