6 libayatana-appindicator,
19 stdenv.mkDerivation (finalAttrs: {
21 inherit (cargo-tauri) version src;
23 postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
24 substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
25 --replace "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
28 inherit (cargo-tauri) cargoDeps;
30 pnpmDeps = pnpm.fetchDeps {
37 hash = "sha256-kTr61DFPIIYceB8tZrKFaMG65CZ//djGEOQBLRNPotk=";
46 rustPlatform.cargoCheckHook
47 rustPlatform.cargoSetupHook
53 ++ lib.optionals stdenv.hostPlatform.isLinux [
55 libayatana-appindicator
59 buildAndTestSubdir = "examples/api/src-tauri";
61 # This example depends on the actual `api` package to be built in-tree
63 pnpm --filter '@tauri-apps/api' build
66 # No one should be actually running this, so lets save some time
71 inherit (cargo-tauri.hook.meta) platforms;