1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

logstash: 2.3.4 -> 2.4.0

This commit is contained in:
Jörg Thalheim 2016-10-01 23:11:30 +02:00
parent 0334b75e12
commit 5435f94371
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
version = "2.3.4";
version = "2.4.0";
name = "logstash-${version}";
src = fetchurl {
url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}.tar.gz";
sha256 = "10wm4f5ygzifk84c1n9yyj285ccn2zd2m61y6hyf6wirvhys0qkz";
sha256 = "1k27hb6q1r26rp3y9pb2ry92kicw83mi352dzl2y4h0gbif46b32";
};
dontBuild = true;
@ -17,15 +17,15 @@ stdenv.mkDerivation rec {
buildInputs = [
makeWrapper jre
];
installPhase = ''
mkdir -p $out
cp -r {Gemfile*,vendor,lib,bin} $out
mv $out/bin/plugin $out/bin/logstash-plugin
wrapProgram $out/bin/logstash \
--set JAVA_HOME "${jre}"
wrapProgram $out/bin/rspec \
--set JAVA_HOME "${jre}"
'';