mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 10:17:46 +00:00
vector: 0.22.3 -> 0.24.0
This commit is contained in:
parent
9e4474136d
commit
2455e2519e
@ -16,21 +16,22 @@
|
||||
, tzdata
|
||||
, cmake
|
||||
, perl
|
||||
# kafka is optional but one of the most used features
|
||||
, enableKafka ? true
|
||||
# nix has a problem with the `?` in the feature list
|
||||
# enabling kafka will produce a vector with no features at all
|
||||
, enableKafka ? false
|
||||
# TODO investigate adding "api" "api-client" "vrl-cli" and various "vendor-*"
|
||||
# "disk-buffer" is using leveldb TODO: investigate how useful
|
||||
# it would be, perhaps only for massive scale?
|
||||
, features ? ([ "sinks" "sources" "transforms" "vrl-cli" ]
|
||||
# the second feature flag is passed to the rdkafka dependency
|
||||
# building on linux fails without this feature flag (both x86_64 and AArch64)
|
||||
++ lib.optionals enableKafka [ "rdkafka/gssapi-vendored" ]
|
||||
++ lib.optionals enableKafka [ "rdkafka?/gssapi-vendored" ]
|
||||
++ lib.optional stdenv.targetPlatform.isUnix "unix")
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "vector";
|
||||
version = "0.22.3";
|
||||
version = "0.24.0";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
@ -39,10 +40,10 @@ rustPlatform.buildRustPackage {
|
||||
owner = "vectordotdev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-62oPttkdahTeMsd9lpd9/tc95kluVJuWxzP94i+gWhA=";
|
||||
sha256 = "sha256-kZ6Ek3CagAznyU7yDv96jFk1xCjfF2gvrNYyVTeFuO0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-WWX47pbva7ZmPR6hBstJ5VqOwu3mkhhsHK3LHHqQjDE=";
|
||||
cargoSha256 = "sha256-4aHMPrawTF9QpoX7cmiPv9ddu0LF008uqBTu0oyan98=";
|
||||
nativeBuildInputs = [ pkg-config cmake perl ];
|
||||
buildInputs = [ oniguruma openssl protobuf rdkafka zstd ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
|
||||
|
Loading…
Reference in New Issue
Block a user