2019-09-21 11:29:00 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-20 18:17:29 +02:00
|
|
|
|
2019-09-21 11:29:00 +02:00
|
|
|
buildGoPackage rec {
|
2019-07-09 01:30:23 +02:00
|
|
|
pname = "SystemdJournal2Gelf-unstable";
|
|
|
|
version = "20190702";
|
2016-06-20 18:17:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-07-09 01:30:23 +02:00
|
|
|
rev = "b1aa5ff31307d11a3c9b4dd08c3cd6230d935ec5";
|
2016-06-20 18:17:29 +02:00
|
|
|
owner = "parse-nl";
|
|
|
|
repo = "SystemdJournal2Gelf";
|
2019-09-21 11:29:00 +02:00
|
|
|
sha256 = "13jyh34wprjixinmh6l7wj7lr1f6qy6nrjcf8l29a74mczbphnvv";
|
|
|
|
fetchSubmodules = true;
|
2016-06-20 18:17:29 +02:00
|
|
|
};
|
|
|
|
|
2019-09-21 11:29:00 +02:00
|
|
|
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
|
2016-06-20 18:17:29 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
|
|
|
license = licenses.bsd2;
|
2019-08-20 19:36:05 +02:00
|
|
|
maintainers = with maintainers; [ fadenb fpletz ];
|
2019-02-17 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2016-06-20 18:17:29 +02:00
|
|
|
};
|
|
|
|
}
|