Skip to content

Commit

Permalink
cargo-mobile2: 0.15.1 -> 0.17.0 (NixOS#340021)
Browse files Browse the repository at this point in the history
  • Loading branch information
happysalada authored Sep 6, 2024
2 parents cedcff6 + 925d85f commit dba9a47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-mobile2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@
let
inherit (darwin.apple_sdk.frameworks) CoreServices;
pname = "cargo-mobile2";
version = "0.15.1";
version = "0.17.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "tauri-apps";
repo = pname;
rev = "cargo-mobile2-v${version}";
hash = "sha256-kWoVjEZsHvuVfsl/SsVm/XJ4Y/U/gjcprY4xISE5xs8=";
hash = "sha256-w+3AqfdzbPKuRa81Q4WhQyc32xzY2IhhG2ylVmwAHkA=";
};

# 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-zfu5cRTJY5yZOOa41PribmcbEVcxbRJfosj4+tU/OsU=";
cargoHash = "sha256-q7cuN2ZNcMfsrn1LS4ZqlJZr1vyCKT07Ksup0L2V0o0=";

preBuild = ''
mkdir -p $out/share/
Expand Down

0 comments on commit dba9a47

Please sign in to comment.