My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/libquotient/default.nix

29 lines
712 B

{ mkDerivation, lib, fetchFromGitHub, cmake, qtmultimedia }:
mkDerivation rec {
pname = "libquotient";
version = "0.6.11";
src = fetchFromGitHub {
owner = "quotient-im";
repo = "libQuotient";
rev = version;
sha256 = "sha256-FPtxeZOfChIPi4e/h/eZkByH1QL3Fn0OJxe0dnMcTRw=";
};
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";
license = licenses.lgpl21;
maintainers = with maintainers; [ colemickens ];
};
}