13 stdenv.mkDerivation (finalAttrs: {
14 pname = "lomiri-settings-components";
17 src = fetchFromGitLab {
19 repo = "development/core/lomiri-settings-components";
20 rev = finalAttrs.version;
21 hash = "sha256-2Wyh+2AW6EeKRv26D4l+GIoH5sWC9SmOODNHOveFZPg=";
25 patchShebangs tests/imports/check_imports.py
27 substituteInPlace CMakeLists.txt \
28 --replace "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" '${placeholder "out"}/${qtbase.qtQmlPrefix}'
29 '' + lib.optionalString (!finalAttrs.finalPackage.doCheck) ''
30 sed -i CMakeLists.txt \
31 -e '/add_subdirectory(tests)/d'
52 # No apps, just QML components
53 dontWrapQtApps = true;
55 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
57 passthru.updateScript = gitUpdater { };
60 description = "QML settings components for the Lomiri Desktop Environment";
61 homepage = "https://gitlab.com/ubports/development/core/lomiri-settings-components";
62 changelog = "https://gitlab.com/ubports/development/core/lomiri-settings-components/-/blob/${finalAttrs.version}/ChangeLog";
63 license = licenses.lgpl3Only;
64 maintainers = teams.lomiri.members;
65 platforms = platforms.linux;