forked from mirrors/nixpkgs
systemd-journal2gelf: init at 20160414
This commit is contained in:
parent
6e60359c74
commit
5650c92b01
24
pkgs/tools/system/systemd-journal2gelf/default.nix
Normal file
24
pkgs/tools/system/systemd-journal2gelf/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "SystemdJournal2Gelf-${version}";
|
||||||
|
version = "20160414";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
rev = "aba2f24e59f190ab8830bf40f92f890e62a9ec9f";
|
||||||
|
owner = "parse-nl";
|
||||||
|
repo = "SystemdJournal2Gelf";
|
||||||
|
sha256 = "012fmnb44681dgz21n1dlb6vh923bpk5lkqir1q40kfz6pacq64n";
|
||||||
|
};
|
||||||
|
|
||||||
|
goDeps = ./deps.json;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ fadenb fpletz globin ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
11
pkgs/tools/system/systemd-journal2gelf/deps.json
Normal file
11
pkgs/tools/system/systemd-journal2gelf/deps.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"goPackagePath": "github.com/DECK36/go-gelf",
|
||||||
|
"fetch": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/DECK36/go-gelf",
|
||||||
|
"rev": "4bc6123df0946a1c23fd54e0c1d0ed68b44fd99f",
|
||||||
|
"sha256": "071zdwcl8ld05gv88yym1p7xq72igd6jj05n5d7v01hn6rvj48ay"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -10771,6 +10771,8 @@ in
|
||||||
tomcat85
|
tomcat85
|
||||||
tomcatUnstable;
|
tomcatUnstable;
|
||||||
|
|
||||||
|
systemd-journal2gelf = (callPackage ../servers/monitoring/systemd-journal2gelf { }).bin // { outputs = ["bin"]; };
|
||||||
|
|
||||||
tomcat_mysql_jdbc = callPackage ../servers/http/tomcat/jdbc/mysql { };
|
tomcat_mysql_jdbc = callPackage ../servers/http/tomcat/jdbc/mysql { };
|
||||||
|
|
||||||
torque = callPackage ../servers/computing/torque { };
|
torque = callPackage ../servers/computing/torque { };
|
||||||
|
|
Loading…
Reference in a new issue