nixpkgs/pkgs/tools/networking/goflow/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
593 B
Nix
Raw Normal View History

2022-03-08 17:59:06 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "goflow";
2024-02-24 15:05:46 +00:00
version = "3.4.5";
2022-03-08 17:59:06 +00:00
src = fetchFromGitHub {
owner = "cloudflare";
repo = pname;
rev = "v${version}";
2024-02-24 15:05:46 +00:00
sha256 = "sha256-2tQADlAajuiNtygdu2SCu2EF3NAuloQL0ROBMUZudZU=";
2022-03-08 17:59:06 +00:00
};
vendorHash = "sha256-fOlfVI8v7KqNSRhAPlZBSHKfZRlCbCgjnMV/6bsqDhg=";
2022-03-08 17:59:06 +00:00
meta = with lib; {
description = "NetFlow/IPFIX/sFlow collector in Go";
homepage = "https://github.com/cloudflare/goflow";
license = licenses.bsd3;
maintainers = with maintainers; [ heph2 ];
platforms = platforms.all;
};
}