neo4j: 3.4.10 -> 3.5.2

neo4j-shell is gone
This commit is contained in:
Florian Klink 2019-02-01 13:55:07 +01:00
parent c8e56ddb27
commit 2436c97cbe
1 changed files with 4 additions and 3 deletions

View File

@ -4,21 +4,22 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "neo4j-${version}";
version = "3.4.10";
version = "3.5.2";
src = fetchurl {
url = "https://neo4j.com/artifact.php?name=neo4j-community-${version}-unix.tar.gz";
sha256 = "0wxcwsnnwk08w3zaz67aa93ysrl61lsy41xynq1sy6z31a7gx9jr";
sha256 = "0i36vgs6b24bdhckgkhw23g59x1f2zg6h07c73jv55sdmxmcdpn1";
};
buildInputs = [ makeWrapper jre8 which gawk ];
installPhase = ''
mkdir -p "$out/share/neo4j"
cp -R * "$out/share/neo4j"
mkdir -p "$out/bin"
for NEO4J_SCRIPT in neo4j neo4j-admin neo4j-import neo4j-shell cypher-shell
for NEO4J_SCRIPT in neo4j neo4j-admin neo4j-import cypher-shell
do
makeWrapper "$out/share/neo4j/bin/$NEO4J_SCRIPT" \
"$out/bin/$NEO4J_SCRIPT" \