depot/third_party/nixpkgs/pkgs/by-name/go/goflow2/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
678 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
version = "2.1.3";
in
buildGoModule {
pname = "goflow2";
inherit version;
src = fetchFromGitHub {
owner = "netsampler";
repo = "goflow2";
rev = "v${version}";
hash = "sha256-wtvBkk+Y4koGDGN+N/w4FsdejgpCIio0g2QV35Pr/fo=";
};
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
vendorHash = "sha256-qcWeIg278V2bgFGpWwUT5JCblxfBv0/gWV1oXul/nCQ=";
meta = {
description = "High performance sFlow/IPFIX/NetFlow Collector";
homepage = "https://github.com/netsampler/goflow2";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ isabelroses ];
};
}