blob: 6783e9dc80cf34695773f1c813ec5f62dcb3c73e (
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
35
36
37
38
39
40
41
42
43
|
{ lib
, rustPlatform
, stdenv
, fetchCrate
, pkg-config
, openssl
, capnproto
, CoreServices
}:
rustPlatform.buildRustPackage rec {
pname = "flowgger";
version = "0.3.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-eybahv1A/AIpAXGj6/md8k+b9fu9gSchU16fnAWZP2s=";
};
cargoHash = "sha256-DZGyX3UDqCjB5NwCXcR8b9pXdq8qacd3nkqGp6vYb+U=";
nativeBuildInputs = [
pkg-config
capnproto
];
buildInputs = [ openssl ]
++ lib.optional stdenv.isDarwin CoreServices;
checkFlags = [
# test failed
"--skip=flowgger::encoder::ltsv_encoder::test_ltsv_full_encode_multiple_sd"
"--skip=flowgger::encoder::ltsv_encoder::test_ltsv_full_encode_no_sd"
];
meta = with lib; {
homepage = "https://github.com/awslabs/flowgger";
description = "Fast, simple and lightweight data collector written in Rust";
license = licenses.bsd2;
maintainers = [ ];
mainProgram = "flowgger";
};
}
|