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

mistral-rs: 0.3.1 -> 0.3.2 (#352064)

parents 3d4a2621 dd6b534e
Loading
Loading
Loading
Loading
+398 −305

File changed.

Preview size limit exceeded, changes collapsed.

+12 −3
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@
  # env
  fetchurl,

  versionCheckHook,

  testers,
  mistral-rs,
  nix-update-script,
@@ -81,20 +83,20 @@ in

rustPlatform.buildRustPackage rec {
  pname = "mistral-rs";
  version = "0.3.1";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "EricLBuehler";
    repo = "mistral.rs";
    rev = "refs/tags/v${version}";
    hash = "sha256-ljGr8V6WkpXPV90SiHJ0t7wzBPx0J0FOB52YdLLIeoM=";
    hash = "sha256-aflzpJZ48AFBqNTssZl2KxkspQb662nGkEU6COIluxk=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "bindgen_cuda-0.1.6" = "sha256-OWGcQxT+x5HyIFskNVWpPr6Qfkh6Mv/g4PVSm5oA27g=";
      "candle-core-0.6.1" = "sha256-AtKjMTtbMBI2DbZXoWimhqcHmsz2DnRXJorqA0QYNHw=";
      "candle-core-0.7.2" = "sha256-OovBzD1gEYToa3HT8oQtbY6sDy0heRwAH2cK7gz5Jm0=";
    };
  };

@@ -179,6 +181,13 @@ rustPlatform.buildRustPackage rec {
    "--skip=util::tests::test_parse_image_url"
  ];

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgram = "${placeholder "out"}/bin/mistralrs-server";
  versionCheckProgramArg = [ "--version" ];
  doInstallCheck = true;

  passthru = {
    tests = {
      version = testers.testVersion { package = mistral-rs; };