1 { mkDerivation, lib, fetchFromGitHub, cmake, qtmultimedia }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-FPtxeZOfChIPi4e/h/eZkByH1QL3Fn0OJxe0dnMcTRw=";
14 buildInputs = [ qtmultimedia ];
16 nativeBuildInputs = [ cmake ];
19 # we need libqtolm for this
20 "-DQuotient_ENABLE_E2EE=OFF"
23 # https://github.com/quotient-im/libQuotient/issues/551
25 substituteInPlace Quotient.pc.in \
26 --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
27 --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
31 description = "A Qt5 library to write cross-platform clients for Matrix";
32 homepage = "https://matrix.org/docs/projects/sdk/quotient";
33 license = licenses.lgpl21;
34 maintainers = with maintainers; [ colemickens ];