2022-03-10 19:12:11 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "goflow";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "3.4.4";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cloudflare";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-nMWAvvJj1S5W4ItOT212bn9CPG5Lpdd+k8ciwGmeu0w=";
|
2022-03-10 19:12:11 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-fOlfVI8v7KqNSRhAPlZBSHKfZRlCbCgjnMV/6bsqDhg=";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A NetFlow/IPFIX/sFlow collector in Go";
|
|
|
|
homepage = "https://github.com/cloudflare/goflow";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ heph2 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|