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

qdrant: 1.6.1 -> 1.7.3
This commit is contained in:
Weijia Wang 2024-01-04 13:28:41 +01:00 committed by GitHub
commit 10fa3b4e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 491 additions and 372 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,39 +8,47 @@
, rust-jemalloc-sys
, nix-update-script
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "qdrant";
version = "1.6.1";
version = "1.7.3";
src = fetchFromGitHub {
owner = "qdrant";
repo = "qdrant";
rev = "refs/tags/v${version}";
sha256 = "sha256-G9nA0F3KKl6mLgcpuMW1uikOyBcBsJ1qd2IlMhW4vhg=";
sha256 = "sha256-5c8lQ1CTtYjzrIfHev5aq1FbfctKr5UXylZzzJtyo+o=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"quantization-0.1.0" = "sha256-FfjLNSPjgVTx2ReqqMeyYujnCz9fPgjWX99r3Lik8oA=";
"quantization-0.1.0" = "sha256-ggVqJiftu0nvyEM0dzsH0JqIc/Z1XILyUSKiJHeuuZs=";
"tonic-0.9.2" = "sha256-ZlcDUZy/FhxcgZE7DtYhAubOq8DMSO17T+TCmXar1jE=";
"wal-0.1.2" = "sha256-sMleBUAZcSnUx7/oQZr9lSDmVHxUjfGaVodvVtFEle0=";
"wal-0.1.2" = "sha256-nBGwpphtj+WBwL9TmWk7qXiEqlIWkgh/2V9uProqhMk=";
};
};
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
buildInputs = [
openssl
rust-jemalloc-sys
] ++ lib.optionals stdenv.isDarwin [ Security ];
] ++ lib.optionals stdenv.isDarwin [
Security
SystemConfiguration
];
nativeBuildInputs = [ protobuf rustPlatform.bindgenHook pkg-config ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-faligned-allocation";
env = {
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
} // lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-faligned-allocation";
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
};
passthru = {
updateScript = nix-update-script { };

View File

@ -12491,7 +12491,7 @@ with pkgs;
qarte = libsForQt5.callPackage ../applications/video/qarte { };
qdrant = darwin.apple_sdk_11_0.callPackage ../servers/search/qdrant {
inherit (darwin.apple_sdk_11_0.frameworks) Security;
inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration;
};
qlcplus = libsForQt5.callPackage ../applications/misc/qlcplus { };