Merge pull request #289215 from dotlambda/deltachat-desktop-1.44

deltachat-desktop: 1.42.2 -> 1.44.0
This commit is contained in:
Robert Schütz 2024-03-09 17:29:39 +00:00 committed by GitHub
commit e103926643
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 787 additions and 559 deletions

View file

@ -1,7 +1,7 @@
{ lib
, buildNpmPackage
, copyDesktopItems
, electron_26
, electron_28
, buildGoModule
, esbuild
, fetchFromGitHub
@ -36,16 +36,16 @@ let
in
buildNpmPackage rec {
pname = "deltachat-desktop";
version = "1.42.2";
version = "1.44.0";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-desktop";
rev = "v${version}";
hash = "sha256-c8eK6YpxCP+Ga/VcqbbOUYuL1h4xspjglCZ1wiEAags=";
hash = "sha256-EHMKk5V77b+wTf72K9FUclrUzmAm51l4uv3vhOrCloA=";
};
npmDepsHash = "sha256-7xMSsKESK9BqQrMvxceEhsETwDFue0/viCNULtzzwGo=";
npmDepsHash = "sha256-nuhOrgHXKK01EirWYmGF17V+aYhZipwmhnAuNqwSQ/c=";
postPatch = ''
test \
@ -103,7 +103,7 @@ buildNpmPackage rec {
$out/lib/node_modules/deltachat-desktop/html-dist/fonts
done
makeWrapper ${electron_26}/bin/electron $out/bin/deltachat \
makeWrapper ${lib.getExe electron_28} $out/bin/deltachat \
--set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \
--add-flags $out/lib/node_modules/deltachat-desktop

File diff suppressed because it is too large Load diff

View file

@ -23,22 +23,20 @@ let
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"email-0.0.21" = "sha256-u4CsK/JqFgq5z3iJGxxGtb7QbSkOAqmOvrmagsqfXIU=";
"email-0.0.20" = "sha256-rV4Uzqt2Qdrfi5Ti1r+Si1c2iW1kKyWLwOgLkQ5JGGw=";
"encoded-words-0.2.0" = "sha256-KK9st0hLFh4dsrnLd6D8lC6pRFFs8W+WpZSGMGJcosk=";
"imap-proto-0.16.3" = "sha256-okIHA8MQ1K/tcKHZYGh83zom1ULGHZ/KGxgcwiE1+sE=";
"iroh-0.4.2" = "sha256-VXNMmj+AvlY/W2JRWMICoNOqpFEahsUDxypHRg185Ao=";
"lettre-0.9.2" = "sha256-+hU1cFacyyeC9UGVBpS14BWlJjHy90i/3ynMkKAzclk=";
};
};
in stdenv.mkDerivation rec {
pname = "libdeltachat";
version = "1.131.9";
version = "1.136.1";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-core-rust";
rev = "v${version}";
hash = "sha256-xZai5RsrfT6bYzMpNdKncmDzBzcAcEtZZmh7f+3g5Hs=";
hash = "sha256-+mwOTm9SWgZjGI0TFHMmLgQJQSXyYMqteqQiubGhFkU=";
};
patches = [

View file

@ -4,13 +4,11 @@
, pkg-config
, pkgconfig
, setuptools-scm
, wheel
, libdeltachat
, cffi
, imap-tools
, requests
, pluggy
, setuptools
, pytestCheckHook
}:
@ -20,15 +18,13 @@ buildPythonPackage rec {
sourceRoot = "${src.name}/python";
disabled = pythonOlder "3.7";
format = "pyproject";
pyproject = true;
nativeBuildInputs = [
cffi
pkg-config
pkgconfig
setuptools
setuptools-scm
wheel
];
buildInputs = [