depot/third_party/nixpkgs/pkgs/tools/system/systemd-journal2gelf/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
734 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "SystemdJournal2Gelf";
version = "unstable-2023-03-10";
src = fetchFromGitHub {
owner = "parse-nl";
repo = "SystemdJournal2Gelf";
rev = "863a15df5ed2d50365bb9c27424e3b118ce404c0";
hash = "sha256-AwJq0xZAoIpBz9kGERfmZZTn28LbAKIl3gUsFKL3yvs=";
};
vendorHash = null;
ldflags = [ "-s" "-w" ];
doCheck = false;
meta = with lib; {
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
homepage = "https://github.com/parse-nl/SystemdJournal2Gelf";
license = licenses.bsd2;
maintainers = with maintainers; [ fadenb fpletz ];
mainProgram = "SystemdJournal2Gelf";
};
}