qdrant: 1.12.1 -> 1.13.4 (#384456)

This commit is contained in:
Peder Bergebakken Sundt
2025-03-03 06:15:15 +01:00
committed by GitHub
2 changed files with 22 additions and 7781 deletions
File diff suppressed because it is too large Load Diff
+22 -28
View File
@@ -10,36 +10,23 @@
nix-update-script,
Security,
SystemConfiguration,
rust-jemalloc-sys-unprefixed,
}:
rustPlatform.buildRustPackage rec {
pname = "qdrant";
version = "1.12.1";
version = "1.13.4";
src = fetchFromGitHub {
owner = "qdrant";
repo = "qdrant";
tag = "v${version}";
sha256 = "sha256-q99roKqeC8lra29gyJertJLnVNFvKRFZ2agREvHZx6k=";
hash = "sha256-77BuXTrQPtg7lus4WXukYSrJllR9hBMqn8+xAaq96z8=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"tar-0.4.41" = "sha256-32n96yoGbDzhgVZvISLGwxHuv7PGtxde5ma/YlsR1Gg=";
"wal-0.1.2" = "sha256-QcyS0v7O1BziVT3oahebpq+u4l5JGaujCaRIPdmsJl4=";
};
};
useFetchCargoVendor = true;
buildInputs =
[
openssl
rust-jemalloc-sys
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Security
SystemConfiguration
];
cargoHash = "sha256-r+UilkSsV875j7tNkGJxuR/XC8Y1Fk4nqHYah9Z9q9c=";
nativeBuildInputs = [
protobuf
@@ -47,23 +34,30 @@ rustPlatform.buildRustPackage rec {
pkg-config
];
env = {
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
};
buildInputs =
[
openssl
rust-jemalloc-sys
rust-jemalloc-sys-unprefixed
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Security
SystemConfiguration
];
passthru = {
updateScript = nix-update-script { };
};
# Needed to get openssl-sys to use pkg-config.
env.OPENSSL_NO_VENDOR = 1;
meta = with lib; {
passthru.updateScript = nix-update-script { };
meta = {
description = "Vector Search Engine for the next generation of AI applications";
longDescription = ''
Expects a config file at config/config.yaml with content similar to
https://github.com/qdrant/qdrant/blob/master/config/config.yaml
'';
homepage = "https://github.com/qdrant/qdrant";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dit7ya ];
};
}