From 9a39290329b885158485dbd1a3d76b24d53ee588 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Feb 2025 12:08:15 +0100 Subject: [PATCH] lomiri.cmake-extras: 1.7 -> 1.8 Co-authored-by: OPNA2608 --- .../development/cmake-extras/default.nix | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/desktops/lomiri/development/cmake-extras/default.nix b/pkgs/desktops/lomiri/development/cmake-extras/default.nix index 21dc05dd12f4..97f36af0f924 100644 --- a/pkgs/desktops/lomiri/development/cmake-extras/default.nix +++ b/pkgs/desktops/lomiri/development/cmake-extras/default.nix @@ -8,23 +8,23 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "cmake-extras"; - version = "1.7"; + version = "1.8"; src = fetchFromGitLab { owner = "ubports"; repo = "development/core/cmake-extras"; - rev = finalAttrs.version; - hash = "sha256-5bLMk21pSZkuU3jAGTnjPc9ZrvVZqMUWSfFgkTtkYLw="; + tag = finalAttrs.version; + hash = "sha256-4KPk8GrpmrrwN6epmzGVh0fCBgP765xR3Im5mMmE9vw="; }; postPatch = '' # We have nothing to build here, no need to depend on a C compiler substituteInPlace CMakeLists.txt \ - --replace 'project(cmake-extras' 'project(cmake-extras LANGUAGES NONE' + --replace-fail 'project(cmake-extras' 'project(cmake-extras LANGUAGES NONE' # This is in a function that reverse dependencies use to determine where to install their files to substituteInPlace src/QmlPlugins/QmlPluginsConfig.cmake \ - --replace "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}" + --replace-fail "\''${CMAKE_INSTALL_LIBDIR}/qt\''${QT_VERSION_MAJOR}/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}" ''; strictDeps = true; @@ -40,11 +40,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { qtbase ]; - meta = with lib; { + meta = { description = "Collection of add-ons for the CMake build tool"; - homepage = "https://gitlab.com/ubports/development/core/cmake-extras/"; - license = licenses.gpl3Only; - maintainers = teams.lomiri.members; - platforms = platforms.all; + homepage = "https://gitlab.com/ubports/development/core/cmake-extras"; + changelog = "https://gitlab.com/ubports/development/core/cmake-extras/-/blob/${finalAttrs.version}/ChangeLog"; + license = lib.licenses.gpl3Only; + maintainers = lib.teams.lomiri.members; + platforms = lib.platforms.all; }; })