mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
cargo-tauri: 1.2.3 -> 1.2.4
This commit is contained in:
parent
8448a6eaaa
commit
304ba96eae
@ -16,20 +16,20 @@ let
|
|||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "tauri";
|
pname = "tauri";
|
||||||
version = "1.2.3";
|
version = "1.2.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tauri-apps";
|
owner = "tauri-apps";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "tauri-v${version}";
|
rev = "tauri-v${version}";
|
||||||
sha256 = "sha256-4v0ZlFBVBB+0xWbTRncVwELaZWLKyCmIceTfseXvS8s=";
|
sha256 = "sha256-BzstYoRZuZTNAkVGqPGYrd/AiWEhoH6t/XezDaFdmVo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# 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 = "source/tooling/cli";
|
sourceRoot = "source/tooling/cli";
|
||||||
|
|
||||||
cargoSha256 = "sha256-Hp6+T2CN0CsXaGnCVqAYaOjZNDkmI+MXDfHIgbU1S0g=";
|
cargoHash = "sha256-t5MlJpQOA5T/EwbPoSD95kATGReiZTmq+JkbDVbRj+0=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ glibc libsoup cairo gtk3 webkitgtk ]
|
buildInputs = lib.optionals stdenv.isLinux [ glibc libsoup cairo gtk3 webkitgtk ]
|
||||||
++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
|
++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
|
||||||
|
Loading…
Reference in New Issue
Block a user