about summary refs log tree commit diff
path: root/pkgs/development/libraries/libquotient
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2021-10-26 13:13:40 +0800
committerPeter Hoeg <peter@hoeg.com>2021-10-31 13:03:21 +0800
commit2cfa8b5511381f629abd0cec2ff5e8c988ec0298 (patch)
tree286dac5ec2ca18086df2c4c2b0b4ce707b9474b5 /pkgs/development/libraries/libquotient
parent674a31bd4ea20f5babadd2a8be30e3c40f97095e (diff)
libquotient: 0.6.9 -> 0.6.11
Diffstat (limited to 'pkgs/development/libraries/libquotient')
-rw-r--r--pkgs/development/libraries/libquotient/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libquotient/default.nix b/pkgs/development/libraries/libquotient/default.nix
index b64e9de9ceeda..eea7eeb88fc77 100644
--- a/pkgs/development/libraries/libquotient/default.nix
+++ b/pkgs/development/libraries/libquotient/default.nix
@@ -1,20 +1,25 @@
-{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, qtmultimedia }:
+{ mkDerivation, lib, fetchFromGitHub, cmake, qtmultimedia }:
 
 mkDerivation rec {
   pname = "libquotient";
-  version = "0.6.9";
+  version = "0.6.11";
 
   src = fetchFromGitHub {
     owner = "quotient-im";
     repo = "libQuotient";
     rev = version;
-    sha256 = "sha256-1YiS2b4lYknNSB+8LKB/s6AcF0yQVsakrkp6/Sjkczo=";
+    sha256 = "sha256-FPtxeZOfChIPi4e/h/eZkByH1QL3Fn0OJxe0dnMcTRw=";
   };
 
-  buildInputs = [ qtbase qtmultimedia ];
+  buildInputs = [ qtmultimedia ];
 
   nativeBuildInputs = [ cmake ];
 
+  cmakeFlags = [
+    # we need libqtolm for this
+    "-DQuotient_ENABLE_E2EE=OFF"
+  ];
+
   meta = with lib; {
     description = "A Qt5 library to write cross-platform clients for Matrix";
     homepage = "https://matrix.org/docs/projects/sdk/quotient";