summary refs log tree commit diff
path: root/pkgs/servers/monitoring/prometheus/flow-exporter.nix
blob: c4b9f06fdde5c3436b43b769f5f3b8f7ced783fc (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
{ buildGoModule, fetchFromGitHub, lib }:

buildGoModule rec {
  pname = "flow-exporter";
  version = "1.1.1";

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "neptune-networks";
    repo = pname;
    sha256 = "sha256-6FqupoYWRvex7XhM7ly8f7ICnuS9JvCRIVEBIJe+64k=";
  };

  vendorSha256 = "sha256-2raOUOPiMUMydIsfSsnwUAAiM7WyMio1NgL1EoADr2s=";

  meta = with lib; {
    description = "Export network flows from kafka to Prometheus";
    homepage = "https://github.com/neptune-networks/flow-exporter";
    license = licenses.mit;
    maintainers = with maintainers; [ kloenk ];
    platforms = platforms.linux;
  };
}