deltachat-tauri: inherit from deltachat-desktop (#529593)

This commit is contained in:
dotlambda
2026-06-10 05:49:17 +00:00
committed by GitHub
2 changed files with 8 additions and 16 deletions
@@ -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 = {
+6 -16
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 ''