about summary refs log tree commit diff
path: root/pkgs/tools/system/systemd-journal2gelf/default.nix
blob: 7230f55d309c5a8a2e3eddfc31049b60ab092cb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "SystemdJournal2Gelf-${version}";
  version = "20170413";

  goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";

  src = fetchFromGitHub {
    rev = "862b1d60d2ba12cd8480304ca95041066cc8bdd0";
    owner = "parse-nl";
    repo = "SystemdJournal2Gelf";
    sha256 = "0xvvc7w2sxkhb33nkq5v626l673d5j2z0yc75wvmqzncwfkkv94v";
  };

  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.unix;
  };
}