1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-07 11:05:30 +03:00

cargo-mobile2: 0.7.0 -> 0.9.0

This commit is contained in:
R. Ryantm 2023-12-13 13:21:40 +00:00 committed by Yt
parent fd04bea4cb
commit 18a19d8dd2

View file

@ -12,7 +12,7 @@
let let
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) CoreServices;
pname = "cargo-mobile2"; pname = "cargo-mobile2";
version = "0.7.0"; version = "0.9.0";
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
inherit pname version; inherit pname version;
@ -20,14 +20,14 @@ rustPlatform.buildRustPackage {
owner = "tauri-apps"; owner = "tauri-apps";
repo = pname; repo = pname;
rev = "cargo-mobile2-v${version}"; rev = "cargo-mobile2-v${version}";
hash = "sha256-aJPiPhDbu7Nwnd65kPMxeULrcjdSu0EF34ma3n/NTYI="; hash = "sha256-zLArfCUgBWx/xrcjvyhQbSxjH0JKI3JhoDVRX2/kBnQ=";
}; };
# Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at # 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 # https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202
# sourceRoot = "${src.name}/tooling/cli"; # sourceRoot = "${src.name}/tooling/cli";
cargoHash = "sha256-Inc+PWJO+PM99YYwQEG1J0/17RkLauraFVzO2CO15rQ="; cargoHash = "sha256-13iCSd2BQ4fEeXSOfDBVgnzFSl1fUAPrbZZJ3qx7oHc=";
preBuild = '' preBuild = ''
mkdir -p $out/share/ mkdir -p $out/share/