goflow2: init at 1.3.3 (#232430)

Co-authored-by: figsoda <figsoda@pm.me>
This commit is contained in:
Yureka
2023-05-17 15:07:42 -04:00
committed by GitHub
co-authored by figsoda
parent d1bc3181fd
commit 776fbde672
2 changed files with 33 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "goflow2";
version = "1.3.3";
src = fetchFromGitHub {
owner = "netsampler";
repo = pname;
rev = "v${version}";
hash = "sha256-YZuF3O1/Ycn2gFK9i1D/W8F16B6NEift5PYbv8yqUHk=";
};
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
vendorHash = "sha256-c40N6SAym9dpCuGb5I7t9sJBde2r552obot3drYCjB4=";
meta = with lib; {
description = "High performance sFlow/IPFIX/NetFlow Collector";
homepage = "https://github.com/netsampler/goflow2";
license = licenses.bsd3;
maintainers = with maintainers; [ yuka ];
};
}
+2
View File
@@ -1567,6 +1567,8 @@ with pkgs;
goflow = callPackage ../tools/networking/goflow { };
goflow2 = callPackage ../tools/networking/goflow2 { };
gofu = callPackage ../applications/misc/gofu { };
godns = callPackage ../tools/networking/godns { };