From b57415cc3b843dea506da78251a6fcb733b8fe29 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sun, 21 May 2023 12:16:02 +0200 Subject: [PATCH] cargo-tauri: 1.0.5 -> 1.0.9 Fixes CVE-2023-31134. https://tauri.app/releases/ --- pkgs/development/tools/rust/cargo-tauri/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-tauri/default.nix b/pkgs/development/tools/rust/cargo-tauri/default.nix index 1112ae8cb036..e2f2ba631e1a 100644 --- a/pkgs/development/tools/rust/cargo-tauri/default.nix +++ b/pkgs/development/tools/rust/cargo-tauri/default.nix @@ -11,20 +11,20 @@ rustPlatform.buildRustPackage rec { pname = "tauri"; - version = "1.0.5"; + version = "1.0.9"; src = fetchFromGitHub { owner = "tauri-apps"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-mp9U46H03NTMumUkx5kjsh9LnbPBrvlhh3yCH6FYdbE="; + rev = "tauri-v${version}"; + sha256 = "sha256-Yufj1C1rvjquqRx+t5xin1zna7wtQaKR4T6oRp8kQAc="; }; # Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at # https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202 sourceRoot = "source/tooling/cli"; - cargoSha256 = "sha256-iFXuVrxE/QmM+TAZmN8Ivt6Le19NWYIfVn1PNPvmhZo="; + cargoSha256 = "sha256-Azx0iFwGXgmANwlLraVU/ojsHBGjiJcM8KsbQPYOXJU="; buildInputs = [ glibc libsoup cairo gtk3 webkitgtk ]; nativeBuildInputs = [ pkg-config ];