{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, qtmultimedia }: mkDerivation rec { pname = "libquotient"; version = "0.5.3.2"; src = fetchFromGitHub { owner = "quotient-im"; repo = "libQuotient"; rev = version; sha256 = "0gkwr3yw6k2m0j8cc085b5p2q788rf5nhp1p5hc5d55pc7mci2qs"; }; buildInputs = [ qtbase qtmultimedia ]; nativeBuildInputs = [ cmake ]; meta = with lib; { description = "A Qt5 library to write cross-platfrom clients for Matrix"; homepage = "https://matrix.org/docs/projects/sdk/quotient"; maintainers = with maintainers; [ colemickens ]; license = licenses.lgpl21; }; }