diff --git a/pkgs/applications/kde/neochat.nix b/pkgs/applications/kde/neochat.nix index 4df33add679..0b9f3c57f61 100644 --- a/pkgs/applications/kde/neochat.nix +++ b/pkgs/applications/kde/neochat.nix @@ -1,5 +1,6 @@ { mkDerivation , lib +, fetchpatch , cmake , extra-cmake-modules @@ -32,6 +33,14 @@ mkDerivation { pname = "neochat"; + patches = [ + (fetchpatch { + name = "libquotient-0.8.patch"; + url = "https://invent.kde.org/network/neochat/-/commit/d9d5e17be2a2057ab2ee545561fab721cb211f7f.patch"; + hash = "sha256-y1PEehFCW+69OH8YvL3SUGOb8Hhyf8xwRvSZzJ5J5Wc="; + }) + ]; + nativeBuildInputs = [ cmake extra-cmake-modules diff --git a/pkgs/applications/networking/instant-messengers/quaternion/default.nix b/pkgs/applications/networking/instant-messengers/quaternion/default.nix index 5fa0580c73b..2bb54b8b5bd 100644 --- a/pkgs/applications/networking/instant-messengers/quaternion/default.nix +++ b/pkgs/applications/networking/instant-messengers/quaternion/default.nix @@ -13,15 +13,15 @@ , olm }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "quaternion"; - version = "0.0.95.81"; + version = "0.0.96-beta4"; src = fetchFromGitHub { - owner = "QMatrixClient"; + owner = "quotient-im"; repo = "Quaternion"; - rev = "5f639d8c84ed1475057b2cb3f7d0cb0abe77203b"; - hash = "sha256-/1fich97oqSSDpfOjaYghYzHfu3MDrh77nanbIN/v/w="; + rev = "refs/tags/${version}"; + hash = "sha256-yItl31Ze48lRIIey+FlRLMVAkg4mHu8G1sFOceHvTJw="; }; buildInputs = [ @@ -36,6 +36,10 @@ stdenv.mkDerivation { nativeBuildInputs = [ cmake qttools wrapQtAppsHook ]; + cmakeFlags = [ + "-DBUILD_WITH_QT6=OFF" + ]; + postInstall = if stdenv.isDarwin then '' mkdir -p $out/Applications diff --git a/pkgs/development/libraries/libquotient/default.nix b/pkgs/development/libraries/libquotient/default.nix index 4bb5ca238a7..24661c082ae 100644 --- a/pkgs/development/libraries/libquotient/default.nix +++ b/pkgs/development/libraries/libquotient/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "libquotient"; - version = "0.7.2"; + version = "0.8.0"; src = fetchFromGitHub { owner = "quotient-im"; repo = "libQuotient"; rev = version; - hash = "sha256-Lq404O2VjZ8vlXOW+rhsvWDvZsNd3APNbv6AadQCjhk="; + hash = "sha256-ecTHiWbsNDIUz+Sadh2pVbDRZFzdMkZXBYSjy1JqZrk="; }; buildInputs = [ olm openssl qtbase qtmultimedia qtkeychain ];