Merge pull request #40133 from fadenb/graylog_2.4.4

graylog: 2.4.3 -> 2.4.4
This commit is contained in:
xeji 2018-05-10 19:50:34 +02:00 committed by GitHub
commit 7028dcd5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,24 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, makeWrapper, jre_headless }:
stdenv.mkDerivation rec {
version = "2.4.3";
version = "2.4.4";
name = "graylog-${version}";
src = fetchurl {
url = "https://packages.graylog2.org/releases/graylog/graylog-${version}.tgz";
sha256 = "0kwgg9m9sqzl4y2ri69fpi7w9961psbmfdq3avjsbgbs60ly1hn6";
sha256 = "0wiqwwsy306hr7zn57f5hvh8wvcc2q46x0hdlabi0n9m44wk993i";
};
dontBuild = true;
dontStrip = true;
buildInputs = [ makeWrapper ];
makeWrapperArgs = [ "--prefix" "PATH" ":" "${jre_headless}/bin" ];
installPhase = ''
mkdir -p $out
cp -r {graylog.jar,lib,bin,plugin,data} $out
wrapProgram $out/bin/graylogctl $makeWrapperArgs
'';
meta = with stdenv.lib; {