1 { fetchzip, lib, stdenv, makeWrapper, openjdk }:
3 stdenv.mkDerivation rec {
4 pname = "gremlin-console";
7 url = "https://downloads.apache.org/tinkerpop/${version}/apache-tinkerpop-gremlin-console-${version}-bin.zip";
8 sha256 = "sha256-lIrqMvI/sYGu36X3jNptoIz7mPVomk8YCIR/6y8mpEc=";
11 nativeBuildInputs = [ makeWrapper ];
16 cp -r ext lib $out/opt/
17 install -D bin/gremlin.sh $out/opt/bin/gremlin-console
18 makeWrapper $out/opt/bin/gremlin-console $out/bin/gremlin-console \
19 --prefix PATH ":" "${openjdk}/bin/" \
20 --set CLASSPATH "$out/opt/lib/"
25 homepage = "https://tinkerpop.apache.org/";
26 description = "Console of the Apache TinkerPop graph computing framework";
27 license = licenses.asl20;
28 maintainers = [ maintainers.lewo ];
29 platforms = platforms.all;
30 mainProgram = "gremlin-console";