biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / by-name / go / goflow2 / package.nix
blobf05c81003c9305ed3b9426a451114260db74b089
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
6 let
7   version = "2.2.1";
8 in
9 buildGoModule {
10   pname = "goflow2";
11   inherit version;
13   src = fetchFromGitHub {
14     owner = "netsampler";
15     repo = "goflow2";
16     rev = "v${version}";
17     hash = "sha256-u2wdlmAwRqBPKD+aof34ud9O4aJ+4ccuMxyk8Cgpsp0=";
18   };
20   ldflags = [
21     "-s"
22     "-w"
23     "-X=main.version=${version}"
24   ];
26   vendorHash = "sha256-4I4gIRJ80x9lmPpbJraSo1OD9CzT6povZDUAr1ZZEa0=";
28   meta = {
29     description = "High performance sFlow/IPFIX/NetFlow Collector";
30     homepage = "https://github.com/netsampler/goflow2";
31     license = lib.licenses.bsd3;
32     maintainers = with lib.maintainers; [ isabelroses ];
33   };