mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
Merge pull request #40133 from fadenb/graylog_2.4.4
graylog: 2.4.3 -> 2.4.4
This commit is contained in:
commit
7028dcd5bb
@ -1,20 +1,24 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, makeWrapper, jre_headless }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.4.3";
|
version = "2.4.4";
|
||||||
name = "graylog-${version}";
|
name = "graylog-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://packages.graylog2.org/releases/graylog/graylog-${version}.tgz";
|
url = "https://packages.graylog2.org/releases/graylog/graylog-${version}.tgz";
|
||||||
sha256 = "0kwgg9m9sqzl4y2ri69fpi7w9961psbmfdq3avjsbgbs60ly1hn6";
|
sha256 = "0wiqwwsy306hr7zn57f5hvh8wvcc2q46x0hdlabi0n9m44wk993i";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
|
makeWrapperArgs = [ "--prefix" "PATH" ":" "${jre_headless}/bin" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r {graylog.jar,lib,bin,plugin,data} $out
|
cp -r {graylog.jar,lib,bin,plugin,data} $out
|
||||||
|
wrapProgram $out/bin/graylogctl $makeWrapperArgs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user