deltachat-tauri: inherit from deltachat-desktop

(cherry picked from commit 682823e9c3)
This commit is contained in:
Robert Schütz 2026-06-08 09:25:06 -07:00 committed by phanirithvij
commit 6fbe8b4a08
No known key found for this signature in database
2 changed files with 8 additions and 16 deletions

View file

@ -4,6 +4,7 @@
electron_41,
fetchFromGitHub,
deltachat-rpc-server,
deltachat-tauri,
makeDesktopItem,
makeWrapper,
nodejs,
@ -149,6 +150,7 @@ stdenv.mkDerivation (finalAttrs: {
version = testers.testVersion {
package = deltachat-desktop;
};
inherit deltachat-tauri;
};
meta = {

View file

@ -2,6 +2,7 @@
apple-sdk_14,
cargo-tauri,
darwin,
deltachat-desktop,
fetchFromGitHub,
fetchPnpmDeps,
gst_all_1,
@ -27,24 +28,13 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "deltachat-tauri";
version = "2.51.0";
inherit (deltachat-desktop)
version
src
pnpmDeps
;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-desktop";
tag = "v${finalAttrs.version}";
hash = "sha256-ORp8lZcHzswrSCe30cGKpZdyqZCcvqLgu2hwvadMHN0=";
};
pnpmDeps = fetchPnpmDeps {
pname = "deltachat-desktop";
inherit (finalAttrs) version src;
inherit pnpm;
fetcherVersion = 4;
hash = "sha256-BSDeOkT75usLmXdAY8QNO+9YxxchrJH2gjFpTzErPXo=";
};
cargoHash = "sha256-JhsoIQZrU4GVcs/TCIug6y/84gODyEWl0Bl2jRNxL5Y=";
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''