diff options
author | Antoine Eiche <lewo@abesis.fr> | 2018-09-29 09:21:09 +0200 |
---|---|---|
committer | Antoine Eiche <lewo@abesis.fr> | 2018-11-12 18:12:20 +0100 |
commit | 28e08aa254bdf1393a924955f6d788296ef8b2a8 (patch) | |
tree | 68839aaa2b18fef3038afea4155e002be702a7d8 /pkgs/applications/misc | |
parent | a815f53c60b95716309bd711cbc9bf6de4050bcd (diff) | |
download | nixpkgs-28e08aa254bdf1393a924955f6d788296ef8b2a8.tar nixpkgs-28e08aa254bdf1393a924955f6d788296ef8b2a8.tar.gz nixpkgs-28e08aa254bdf1393a924955f6d788296ef8b2a8.tar.bz2 nixpkgs-28e08aa254bdf1393a924955f6d788296ef8b2a8.tar.lz nixpkgs-28e08aa254bdf1393a924955f6d788296ef8b2a8.tar.xz nixpkgs-28e08aa254bdf1393a924955f6d788296ef8b2a8.tar.zst nixpkgs-28e08aa254bdf1393a924955f6d788296ef8b2a8.zip |
gremlin-console: init at 3.3.4
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/gremlin-console/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gremlin-console/default.nix b/pkgs/applications/misc/gremlin-console/default.nix new file mode 100644 index 00000000000..a35079e9151 --- /dev/null +++ b/pkgs/applications/misc/gremlin-console/default.nix @@ -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; + }; +} |