mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
deltachat-tauri: inherit from deltachat-desktop
(cherry picked from commit 682823e9c3)
This commit is contained in:
parent
df88426fe2
commit
6fbe8b4a08
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 = {
|
||||
|
|
|
|||
|
|
@ -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 ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue