9 stdenv.mkDerivation rec {
10 pname = "gremlin-console";
13 url = "https://downloads.apache.org/tinkerpop/${version}/apache-tinkerpop-gremlin-console-${version}-bin.zip";
14 sha256 = "sha256-27S1ukq9rHncFuPBZmwIP/bKuPYm3AxdBK3PliYTGEQ=";
17 nativeBuildInputs = [ makeWrapper ];
22 cp -r ext lib $out/opt/
23 install -D bin/gremlin.sh $out/opt/bin/gremlin-console
24 makeWrapper $out/opt/bin/gremlin-console $out/bin/gremlin-console \
25 --prefix PATH ":" "${openjdk}/bin/" \
26 --set CLASSPATH "$out/opt/lib/"
31 homepage = "https://tinkerpop.apache.org/";
32 description = "Console of the Apache TinkerPop graph computing framework";
33 license = licenses.asl20;
34 maintainers = [ maintainers.lewo ];
35 platforms = platforms.all;
36 mainProgram = "gremlin-console";