Merge pull request #269801 from dotlambda/deltachat-desktop-1.42.1

deltachat-desktop: 1.41.4 -> 1.42.1
This commit is contained in:
Robert Schütz 2023-11-26 16:35:52 -08:00 committed by GitHub
commit 5171694860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 11 deletions

View file

@ -5,6 +5,7 @@
, buildGoModule
, esbuild
, fetchFromGitHub
, jq
, libdeltachat
, makeDesktopItem
, makeWrapper
@ -35,18 +36,26 @@ let
in
buildNpmPackage rec {
pname = "deltachat-desktop";
version = "1.41.4";
version = "1.42.1";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-desktop";
rev = "v${version}";
hash = "sha256-T2EPCYQ2N414sUEqpXtx459sZZXOnHgXM0/dz3Wi9hw=";
hash = "sha256-Ua4HN02203l2FgeMotqLjcRSEHFP/4OTrl8sPS/0C+k=";
};
npmDepsHash = "sha256-q60qrTN6H1AfJGhula8dzRwnKw2l+X0BOIvnKZh5t2s=";
npmDepsHash = "sha256-c9ZwShmHIoFJ2mAabKyYkYsCMXqxUf+tAS1a1/7s0qo=";
postPatch = ''
test \
$(jq -r '.packages."node_modules/@deltachat/jsonrpc-client".version' package-lock.json) \
= $(pkg-config --modversion deltachat) \
|| (echo "error: libdeltachat version does not match jsonrpc-client" && exit 1)
'';
nativeBuildInputs = [
jq
makeWrapper
pkg-config
python3

View file

@ -1087,7 +1087,7 @@ dependencies = [
[[package]]
name = "deltachat"
version = "1.131.6"
version = "1.131.7"
dependencies = [
"ansi_term",
"anyhow",
@ -1165,7 +1165,7 @@ dependencies = [
[[package]]
name = "deltachat-jsonrpc"
version = "1.131.6"
version = "1.131.7"
dependencies = [
"anyhow",
"async-channel 2.1.0",
@ -1189,7 +1189,7 @@ dependencies = [
[[package]]
name = "deltachat-repl"
version = "1.131.6"
version = "1.131.7"
dependencies = [
"ansi_term",
"anyhow",
@ -1204,7 +1204,7 @@ dependencies = [
[[package]]
name = "deltachat-rpc-server"
version = "1.131.6"
version = "1.131.7"
dependencies = [
"anyhow",
"deltachat",
@ -1229,7 +1229,7 @@ dependencies = [
[[package]]
name = "deltachat_ffi"
version = "1.131.6"
version = "1.131.7"
dependencies = [
"anyhow",
"deltachat",

View file

@ -3,6 +3,7 @@
, fetchFromGitHub
, cargo
, cmake
, deltachat-desktop
, deltachat-repl
, openssl
, perl
@ -30,13 +31,13 @@ let
};
in stdenv.mkDerivation rec {
pname = "libdeltachat";
version = "1.131.6";
version = "1.131.7";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-core-rust";
rev = "v${version}";
hash = "sha256-/LWWqa8f+ODP4LDIx9U9kRCFYI+5N6KztFDPbc2TiF0=";
hash = "sha256-QzNZBBQ0fFqQByaNRNebtnoljC4rQqVTxbNz2M3LDAc=";
};
patches = [
@ -81,7 +82,7 @@ in stdenv.mkDerivation rec {
passthru = {
inherit cargoLock;
tests = {
inherit deltachat-repl;
inherit deltachat-desktop deltachat-repl;
python = python3.pkgs.deltachat;
};
};