Merge pull request #247596 from r-ryantm/auto-update/qdrant

qdrant: 1.3.2 -> 1.4.0
This commit is contained in:
Nick Cao 2023-08-07 19:11:08 -06:00 committed by GitHub
commit b912c54757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 780 additions and 128 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,30 +11,24 @@
rustPlatform.buildRustPackage rec {
pname = "qdrant";
version = "1.3.2";
version = "1.4.0";
src = fetchFromGitHub {
owner = "qdrant";
repo = "qdrant";
rev = "refs/tags/v${version}";
sha256 = "sha256-UKGpbI5XjS0s9Aedos8FX7J1zcbsAgLY1zS3M0DSf9s=";
sha256 = "sha256-ccvtDz6woANSotTn6GwTAbGd0UlrpddvfH8+GR1dI3g=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"quantization-0.1.0" = "sha256-ZPz2vVRA81SZ1xK1d4iiTU54xnr8zGaUzKXIZKGTZOc=";
"quantization-0.1.0" = "sha256-pV+lfO0LV/+jOV+v/oQADsde6a8XKNah0OVJdTnzdvw=";
"tonic-0.9.2" = "sha256-ZlcDUZy/FhxcgZE7DtYhAubOq8DMSO17T+TCmXar1jE=";
"wal-0.1.2" = "sha256-sMleBUAZcSnUx7/oQZr9lSDmVHxUjfGaVodvVtFEle0=";
};
};
prePatch = lib.optionalString stdenv.isAarch64 ''
substituteInPlace .cargo/config.toml \
--replace "[target.aarch64-unknown-linux-gnu]" "" \
--replace "linker = \"aarch64-linux-gnu-gcc\"" ""
'';
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;