kdeltachat: pin libdeltachat at 1.155.6

Otherwise kdeltachat fails to build with

    /build/source/message.cpp: In member function 'void DcMessage::setFile(QString)':
    /build/source/message.cpp:93:12: error: 'dc_msg_set_file' was not declared in this scope; did you mean 'dc_msg_get_file'?
       93 |     return dc_msg_set_file(m_message, utf8File.constData(), NULL);
          |            ^~~~~~~~~~~~~~~
          |            dc_msg_get_file
This commit is contained in:
Robert Schütz
2025-05-13 17:55:43 -07:00
parent 4e4fd664d5
commit 6d6e907dbc

View File

@@ -1,6 +1,7 @@
{
lib,
mkDerivation,
fetchFromGitHub,
fetchFromSourcehut,
cmake,
extra-cmake-modules,
@@ -11,8 +12,25 @@
qtimageformats,
qtmultimedia,
qtwebengine,
rustPlatform,
}:
let
libdeltachat' = libdeltachat.overrideAttrs rec {
version = "1.155.6";
src = fetchFromGitHub {
owner = "chatmail";
repo = "core";
tag = "v${version}";
hash = "sha256-d7EmmyLSJjFIZM1j6LP8f4WnXiptNTAqOdJD/oPL02Y=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
pname = "deltachat-core-rust";
inherit version src;
hash = "sha256-E01aEzNi06LQntrlA+342a8Nl5API6v7HbdmuKpfajs=";
};
};
in
mkDerivation {
pname = "kdeltachat";
version = "unstable-2024-01-14";
@@ -32,7 +50,7 @@ mkDerivation {
buildInputs = [
kirigami2
libdeltachat
libdeltachat'
qtimageformats
qtmultimedia
qtwebengine