Merge pull request #47511 from nlewo/pr-gremlin

gremlin-console: init at 3.3.3
This commit is contained in:
Samuel Dionne-Riel 2018-11-12 23:25:29 +00:00 committed by GitHub
commit 5b606cc60a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { };