2021-10-26 06:13:40 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, qtmultimedia }:
|
2020-04-10 02:38:20 +01:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "libquotient";
|
2021-10-26 06:13:40 +01:00
|
|
|
version = "0.6.11";
|
2020-04-10 02:38:20 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "quotient-im";
|
|
|
|
repo = "libQuotient";
|
|
|
|
rev = version;
|
2021-10-26 06:13:40 +01:00
|
|
|
sha256 = "sha256-FPtxeZOfChIPi4e/h/eZkByH1QL3Fn0OJxe0dnMcTRw=";
|
2020-04-10 02:38:20 +01:00
|
|
|
};
|
|
|
|
|
2021-10-26 06:13:40 +01:00
|
|
|
buildInputs = [ qtmultimedia ];
|
2020-04-10 02:38:20 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-10-26 06:13:40 +01:00
|
|
|
cmakeFlags = [
|
|
|
|
# we need libqtolm for this
|
|
|
|
"-DQuotient_ENABLE_E2EE=OFF"
|
|
|
|
];
|
|
|
|
|
2020-04-10 02:38:20 +01:00
|
|
|
meta = with lib; {
|
2021-04-10 12:08:33 +01:00
|
|
|
description = "A Qt5 library to write cross-platform clients for Matrix";
|
2020-04-10 02:38:20 +01:00
|
|
|
homepage = "https://matrix.org/docs/projects/sdk/quotient";
|
|
|
|
license = licenses.lgpl21;
|
2020-12-29 22:16:54 +00:00
|
|
|
maintainers = with maintainers; [ colemickens ];
|
2020-04-10 02:38:20 +01:00
|
|
|
};
|
|
|
|
}
|