libquotient: 0.6.11 -> 0.7.0 (#207558)

This commit is contained in:
Matthias Beyer 2023-01-09 15:33:42 +01:00 committed by GitHub
parent f089dff7ed
commit 52fcfb1de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,25 +1,20 @@
{ mkDerivation, lib, fetchFromGitHub, cmake, qtmultimedia }:
{ mkDerivation, lib, fetchFromGitHub, cmake, qtmultimedia, qtkeychain }:
mkDerivation rec {
pname = "libquotient";
version = "0.6.11";
version = "0.7.0";
src = fetchFromGitHub {
owner = "quotient-im";
repo = "libQuotient";
rev = version;
sha256 = "sha256-FPtxeZOfChIPi4e/h/eZkByH1QL3Fn0OJxe0dnMcTRw=";
sha256 = "sha256-9NAWphpAI7/qWDMjsx26s+hOaQh0hbzjePfESC7PtXc=";
};
buildInputs = [ qtmultimedia ];
buildInputs = [ qtmultimedia qtkeychain ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
# we need libqtolm for this
"-DQuotient_ENABLE_E2EE=OFF"
];
# https://github.com/quotient-im/libQuotient/issues/551
postPatch = ''
substituteInPlace Quotient.pc.in \