Merge pull request #311713 from isabelroses/goflow/by-name

goflow2: move to by-name
This commit is contained in:
Aleksana 2024-05-16 22:38:03 +08:00 committed by GitHub
commit 25778548a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 8 deletions

View File

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

View File

@ -1841,8 +1841,6 @@ with pkgs;
goflow = callPackage ../tools/networking/goflow { };
goflow2 = callPackage ../tools/networking/goflow2 { };
gofu = callPackage ../applications/misc/gofu { };
godspeed = callPackage ../tools/networking/godspeed { };