depot/third_party/nixpkgs/pkgs/tools/networking/goflow2/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

31 lines
643 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "goflow2";
version = "2.0.0";
src = fetchFromGitHub {
owner = "netsampler";
repo = pname;
rev = "v${version}";
hash = "sha256-tY2+4lGy+2thpRDNeTw1kfOtZvOspXCYU7dhYcckbRo=";
};
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
vendorHash = "sha256-KcknR2IaHz2EzOFwSHppbmNDISrFdNoB4QmLT74/KWY=";
meta = with lib; {
description = "High performance sFlow/IPFIX/NetFlow Collector";
homepage = "https://github.com/netsampler/goflow2";
license = licenses.bsd3;
maintainers = with maintainers; [ yuka ];
};
}