libquotient: propagate required libraries, split dev output, update meta.homepage

+10 -3
+10 -3
pkgs/development/libraries/libquotient/default.nix
··· 4 pname = "libquotient"; 5 version = "0.8.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "quotient-im"; 9 repo = "libQuotient"; ··· 11 hash = "sha256-qJTikc42sFUlb4g0sAEg6v9d4k1lhbn3MZPvghm56E8="; 12 }; 13 14 - buildInputs = [ olm openssl qtbase qtmultimedia qtkeychain ]; 15 - 16 nativeBuildInputs = [ cmake ]; 17 18 cmakeFlags = [ 19 "-DQuotient_ENABLE_E2EE=ON" ··· 28 29 dontWrapQtApps = true; 30 31 meta = with lib; { 32 description = "A Qt5/Qt6 library to write cross-platform clients for Matrix"; 33 - homepage = "https://matrix.org/docs/projects/sdk/quotient"; 34 license = licenses.lgpl21; 35 maintainers = with maintainers; [ colemickens matthiasbeyer ]; 36 };
··· 4 pname = "libquotient"; 5 version = "0.8.1.2"; 6 7 + outputs = [ "out" "dev" ]; 8 + 9 src = fetchFromGitHub { 10 owner = "quotient-im"; 11 repo = "libQuotient"; ··· 13 hash = "sha256-qJTikc42sFUlb4g0sAEg6v9d4k1lhbn3MZPvghm56E8="; 14 }; 15 16 nativeBuildInputs = [ cmake ]; 17 + 18 + propagatedBuildInputs = [ qtbase qtkeychain olm openssl qtmultimedia ]; 19 20 cmakeFlags = [ 21 "-DQuotient_ENABLE_E2EE=ON" ··· 30 31 dontWrapQtApps = true; 32 33 + postInstall = '' 34 + # causes cyclic dependency but is not used 35 + rm $out/share/ndk-modules/Android.mk 36 + ''; 37 + 38 meta = with lib; { 39 description = "A Qt5/Qt6 library to write cross-platform clients for Matrix"; 40 + homepage = "https://quotient-im.github.io/libQuotient/"; 41 license = licenses.lgpl21; 42 maintainers = with maintainers; [ colemickens matthiasbeyer ]; 43 };