Merge pull request #206244 from matthiasbeyer/update-cargo-tauri

cargo-tauri: 1.0.5 -> 1.2.2
This commit is contained in:
Bobby Rong 2022-12-16 18:07:19 +08:00 committed by GitHub
commit d1f3bbdf61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,20 +11,20 @@
rustPlatform.buildRustPackage rec {
pname = "tauri";
version = "1.0.5";
version = "1.2.2";
src = fetchFromGitHub {
owner = "tauri-apps";
repo = pname;
rev = "v${version}";
sha256 = "sha256-mp9U46H03NTMumUkx5kjsh9LnbPBrvlhh3yCH6FYdbE=";
rev = "tauri-v${version}";
sha256 = "sha256-RBaIF9vWQwQAdqN3p3JS1WO6u3IMxi8CuCkrwQbd2gI=";
};
# 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-8sdCVOtPwIjW2x1yh1B0oybVi2kz3LQoK3OcaJvUsxQ=";
buildInputs = [ glibc libsoup cairo gtk3 webkitgtk ];
nativeBuildInputs = [ pkg-config ];