mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
mistral-rs: 0.3.1 -> 0.3.2
Diff: https://github.com/EricLBuehler/mistral.rs/compare/refs/tags/v0.3.1...v0.3.2 Changelog: https://github.com/EricLBuehler/mistral.rs/releases/tag/v0.3.2
This commit is contained in:
parent
a716850ef1
commit
dd6b534eab
707
pkgs/by-name/mi/mistral-rs/Cargo.lock
generated
707
pkgs/by-name/mi/mistral-rs/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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; };
|
||||
|
Loading…
Reference in New Issue
Block a user