nixpkgs-suyu/pkgs/tools/system/systemd-journal2gelf/default.nix
2016-09-19 00:08:21 +02:00

24 lines
697 B
Nix

{ 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.nix;
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;
};
}