nixpkgs/pkgs/tools/system/systemd-journal2gelf/default.nix

24 lines
692 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2016-06-20 17:17:29 +01:00
buildGoPackage rec {
pname = "SystemdJournal2Gelf-unstable";
version = "20190702";
2016-06-20 17:17:29 +01:00
src = fetchFromGitHub {
rev = "b1aa5ff31307d11a3c9b4dd08c3cd6230d935ec5";
2016-06-20 17:17:29 +01:00
owner = "parse-nl";
repo = "SystemdJournal2Gelf";
sha256 = "13jyh34wprjixinmh6l7wj7lr1f6qy6nrjcf8l29a74mczbphnvv";
fetchSubmodules = true;
2016-06-20 17:17:29 +01:00
};
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
2016-06-20 17:17:29 +01:00
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 ];
platforms = platforms.unix;
2016-06-20 17:17:29 +01:00
};
}