From 59ff74f36d5ff9e235d4a7022fd2f620b3fcb513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Wed, 21 Aug 2024 20:18:11 +0200 Subject: [PATCH] wasmtime: 23.0.1 -> 24.0.0 --- pkgs/development/interpreters/wasmtime/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/interpreters/wasmtime/default.nix b/pkgs/development/interpreters/wasmtime/default.nix index d7b3b751ac90..8bcb83677b38 100644 --- a/pkgs/development/interpreters/wasmtime/default.nix +++ b/pkgs/development/interpreters/wasmtime/default.nix @@ -1,20 +1,20 @@ -{ rustPlatform, rustfmt, fetchFromGitHub, Security, lib, stdenv }: +{ lib, rustPlatform, cmake, rustfmt, fetchFromGitHub, Security, stdenv }: rustPlatform.buildRustPackage rec { pname = "wasmtime"; - version = "23.0.1"; + version = "24.0.0"; src = fetchFromGitHub { owner = "bytecodealliance"; repo = pname; rev = "v${version}"; - hash = "sha256-3PvxMwsFnX2f9sosp93ZHBZDJUUbwLb8lHgaMVqJf6E="; + hash = "sha256-pR6yjJf0szjB73+vqXT4d8P9WD+SIOkEOe4Wl6EgIqQ="; fetchSubmodules = true; }; # Disable cargo-auditable until https://github.com/rust-secure-code/cargo-auditable/issues/124 is solved. auditable = false; - cargoHash = "sha256-ABDjdkHXSu80yUnXBNsUmpbtl9F3CYxy2GvYGN2fEuY="; + cargoHash = "sha256-bZtBEmzmu63wNlGhYvN0gYKkLPxzBHZ1iO16BMPD3tE="; cargoBuildFlags = [ "--package" "wasmtime-cli" "--package" "wasmtime-c-api" ]; outputs = [ "out" "dev" ]; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { # warning: cranelift-codegen@0.108.0: # Failed to run `rustfmt` on ISLE-generated code: Os # { code: 2, kind: NotFound, message: "No such file or directory" } - nativeBuildInputs = [ rustfmt ]; + nativeBuildInputs = [ cmake rustfmt ]; doCheck = with stdenv.buildPlatform; # SIMD tests are only executed on platforms that support all