Unverified Commit 776fbde6 authored by Yureka's avatar Yureka Committed by GitHub
Browse files

goflow2: init at 1.3.3 (#232430)



Co-authored-by: default avatarfigsoda <figsoda@pm.me>
parent d1bc3181
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ 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 −0
Original line number Diff line number Diff line
@@ -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 { };