From 91b1c7f636025b6d2ce7905912bdf0f641f06882 Mon Sep 17 00:00:00 2001 From: happysalada Date: Mon, 16 Oct 2023 09:45:51 +0100 Subject: [PATCH] cargo-mobile2: rename from tauri-mobile and update to 0.7.0 --- .../rust/{tauri-mobile => cargo-mobile2}/default.nix | 10 +++++----- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename pkgs/development/tools/rust/{tauri-mobile => cargo-mobile2}/default.nix (83%) diff --git a/pkgs/development/tools/rust/tauri-mobile/default.nix b/pkgs/development/tools/rust/cargo-mobile2/default.nix similarity index 83% rename from pkgs/development/tools/rust/tauri-mobile/default.nix rename to pkgs/development/tools/rust/cargo-mobile2/default.nix index 7bdf412ebe79..3564862e19fc 100644 --- a/pkgs/development/tools/rust/tauri-mobile/default.nix +++ b/pkgs/development/tools/rust/cargo-mobile2/default.nix @@ -11,23 +11,23 @@ let inherit (darwin.apple_sdk.frameworks) CoreServices; - pname = "tauri-mobile"; - version = "unstable-2023-06-06"; + pname = "cargo-mobile2"; + version = "0.7.0"; in rustPlatform.buildRustPackage { inherit pname version; src = fetchFromGitHub { owner = "tauri-apps"; repo = pname; - rev = "43b2a3ba3a05b9ca3d3c9d8d7eafbeb4f24bf396"; - hash = "sha256-fVQmhtUn2Lwtr/id/qWtgnHQdXkf0jAOg4apOgnLD4Y="; + rev = "cargo-mobile2-v${version}"; + hash = "sha256-aJPiPhDbu7Nwnd65kPMxeULrcjdSu0EF34ma3n/NTYI="; }; # 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 = "${src.name}/tooling/cli"; - cargoHash = "sha256-MtLfcDJcLVhsIGD6pjpomuu9GYGqa7L8xnaQ++f+0H4="; + cargoHash = "sha256-Inc+PWJO+PM99YYwQEG1J0/17RkLauraFVzO2CO15rQ="; preBuild = '' mkdir -p $out/share/ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2c8b406ef327..6ee46ee11644 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17175,7 +17175,7 @@ with pkgs; cargo-unused-features = callPackage ../development/tools/rust/cargo-unused-features { }; cargo-tauri = callPackage ../development/tools/rust/cargo-tauri { }; - tauri-mobile = callPackage ../development/tools/rust/tauri-mobile { }; + cargo-mobile2 = callPackage ../development/tools/rust/cargo-mobile2 { }; cargo-valgrind = callPackage ../development/tools/rust/cargo-valgrind { }; cargo-vet = callPackage ../development/tools/rust/cargo-vet {