blob: e360c5253ef9cb9677ab08118c935cc4202e6203 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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 ];
};
}
|