2021-03-04 12:54:50 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2021-02-08 21:43:01 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|