Merge pull request #299792 from jpds/vector-0.37.0

vector: 0.36.1 → 0.37.0
This commit is contained in:
Yt 2024-03-28 22:59:11 +00:00 committed by GitHub
commit a231a7da7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 701 additions and 475 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, rustPlatform
, pkg-config
, openssl
@ -36,7 +37,7 @@
let
pname = "vector";
version = "0.36.1";
version = "0.37.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
@ -45,14 +46,23 @@ rustPlatform.buildRustPackage {
owner = "vectordotdev";
repo = pname;
rev = "v${version}";
hash = "sha256-iY0Bi1FG3kEiZtPTXonoVGYiquZkTPF51PWEZEoxQSw=";
hash = "sha256-v93ZsNGoswPpey409V7qKqsBsfRt5pgY5PxGti4MlDg=";
};
patches = [
# Enable LTO to bring down binary size
(fetchpatch {
name = "vector-20034-lto.patch";
url = "https://patch-diff.githubusercontent.com/raw/vectordotdev/vector/pull/20034.diff";
hash = "sha256-X6YWnW0x5WpKAgyqIaLjKF1F1/G4JgvmNhAHtozXrPQ=";
})
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"greptime-proto-0.1.0" = "sha256-Q8xr6qN6SAGGK0W96WuNRdQ5/8iNlruqzhXD6xq3Ua8=";
"greptimedb-client-0.1.0" = "sha256-l4r/2DGllXiFgOwpa83ZRiK9o0L4bokVltCGD1cp3NM=";
"greptimedb-client-0.1.0" = "sha256-evL8Q2Ikct9s0r4DWTgSP/8g4XTishuJHmwRoCfQFbU=";
"heim-0.1.0-rc.1" = "sha256-TFgLR5zb/oqceVOH4mIOvFFY/HMOLSo8VI5Eh9KP60E=";
"nix-0.26.2" = "sha256-uquYvRT56lhupkrESpxwKEimRFhmYvri10n3dj0f2yg=";
"ntapi-0.3.7" = "sha256-G6ZCsa3GWiI/FeGKiK9TWkmTxen7nwpXvm5FtjNtjWU=";
@ -60,6 +70,7 @@ rustPlatform.buildRustPackage {
"tracing-0.2.0" = "sha256-YAxeEofFA43PX2hafh3RY+C81a2v6n1fGzYz2FycC3M=";
};
};
nativeBuildInputs = [ pkg-config cmake perl git rustPlatform.bindgenHook ];
buildInputs =
[ oniguruma openssl protobuf rdkafka zstd ]