depot/third_party/nixpkgs/pkgs/tools/networking/goflow/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
593 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "goflow";
version = "3.4.5";
src = fetchFromGitHub {
owner = "cloudflare";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2tQADlAajuiNtygdu2SCu2EF3NAuloQL0ROBMUZudZU=";
};
vendorHash = "sha256-fOlfVI8v7KqNSRhAPlZBSHKfZRlCbCgjnMV/6bsqDhg=";
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;
};
}