Merge pull request #240629 from ee2500/flowgger

flowgger: init at 0.3.1
This commit is contained in:
Pol Dellaiera
2023-07-01 23:23:18 +02:00
committed by GitHub
2 changed files with 46 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
{ lib
, rustPlatform
, stdenv
, fetchCrate
, pkg-config
, openssl
, capnproto
, CoreServices
}:
rustPlatform.buildRustPackage rec {
pname = "flowgger";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-PRlcfSVfQWt+rQEJjblY7/AMrjhGYO2/G7EX60aGApA=";
};
cargoHash = "sha256-hp2LrEVWo0gk95dPROqVcHEEG5N9fWms0mZkY9QILg0=";
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 = "A fast, simple and lightweight data collector written in Rust";
license = licenses.bsd2;
maintainers = with maintainers; [ earthengine ];
};
}
+4
View File
@@ -5037,6 +5037,10 @@ with pkgs;
flitter = callPackage ../tools/misc/flitter { };
flowgger = callPackage ../tools/misc/flowgger {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
frangipanni = callPackage ../tools/text/frangipanni { };
frawk = callPackage ../tools/text/frawk { };