gremlin-console: init at 3.3.4

This commit is contained in:
Antoine Eiche 2018-09-29 09:21:09 +02:00
parent a815f53c60
commit 28e08aa254
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ pkgs, fetchzip, stdenv, makeWrapper, openjdk }:
stdenv.mkDerivation rec {
name = "gremlin-console-${version}";
version = "3.3.4";
src = fetchzip {
url = "http://www-eu.apache.org/dist/tinkerpop/${version}/apache-tinkerpop-gremlin-console-${version}-bin.zip";
sha256 = "14xr0yqklmm4jvj1hnkj89lj83zzs2l1375ni0jbf12gy31jlb2w";
};
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/opt
cp -r ext lib $out/opt/
install -D bin/gremlin.sh $out/opt/bin/gremlin-console
makeWrapper $out/opt/bin/gremlin-console $out/bin/gremlin-console \
--prefix PATH ":" "${openjdk}/bin/" \
--set CLASSPATH "$out/opt/lib/"
'';
meta = with stdenv.lib; {
homepage = https://tinkerpop.apache.org/;
description = "Console of the Apache TinkerPop graph computing framework";
license = licenses.asl20;
maintainers = [ maintainers.lewo ];
platforms = platforms.all;
};
}

View File

@ -726,6 +726,8 @@ with pkgs;
SDL = SDL_sixel;
};
gremlin-console = callPackage ../applications/misc/gremlin-console { };
gcsfuse = callPackage ../tools/filesystems/gcsfuse { };
glyr = callPackage ../tools/audio/glyr { };