mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
593 B
Nix
27 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;
|
|
};
|
|
}
|