Unverified Commit bfb04e08 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

qdrant: 1.14.0 -> 1.15.4 (#443426)

parents 06de7c15 04508187
Loading
Loading
Loading
Loading
+19 −7
Original line number Diff line number Diff line
@@ -6,22 +6,23 @@
  pkg-config,
  openssl,
  rust-jemalloc-sys,
  nix-update-script,
  rust-jemalloc-sys-unprefixed,
  versionCheckHook,
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "qdrant";
  version = "1.14.0";
  version = "1.15.4";

  src = fetchFromGitHub {
    owner = "qdrant";
    repo = "qdrant";
    tag = "v${version}";
    hash = "sha256-o9Nv4UsFgVngKWpe5sUR8tovtpB81tJBSm6We6DN20c=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-t+j7gq0PidvBGkjkyU8Zny9bgjKGNITUJOmyFnneZVY=";
  };

  cargoHash = "sha256-xt7uu+YZGazbKwXEKXeIwcGg8G4djQx7nKpQYFv/L3Y=";
  cargoHash = "sha256-bcPSHoUOUliAU+GersU4auzdUiv9PPuAjrPO/FxovB8=";

  nativeBuildInputs = [
    protobuf
@@ -38,6 +39,17 @@ rustPlatform.buildRustPackage rec {
  # Needed to get openssl-sys to use pkg-config.
  env.OPENSSL_NO_VENDOR = 1;

  # Fix cargo-auditable issue with bench_rocksdb = ["dep:rocksdb"]
  auditable = false;

  __darwinAllowLocalNetworking = true;

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  passthru.updateScript = nix-update-script { };

  meta = {
@@ -50,4 +62,4 @@ rustPlatform.buildRustPackage rec {
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dit7ya ];
  };
}
})