From 613a07bc685b88d2744cec29238ef74aecee58af Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 4 Feb 2026 16:03:58 +0100 Subject: [PATCH] libqtdbusmock: 0.9.1 -> 0.10.0 --- .../development/libraries/libqtdbusmock/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libqtdbusmock/default.nix b/pkgs/development/libraries/libqtdbusmock/default.nix index 2d2517df1d4a..6beeda70e863 100644 --- a/pkgs/development/libraries/libqtdbusmock/default.nix +++ b/pkgs/development/libraries/libqtdbusmock/default.nix @@ -18,13 +18,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "libqtdbusmock"; - version = "0.9.1"; + version = "0.10.0"; src = fetchFromGitLab { owner = "ubports"; repo = "development/core/libqtdbusmock"; rev = finalAttrs.version; - hash = "sha256-hVw2HnIHlA7vvt0Sr6F2qVhvBZ33aCeqb9vgbu3rgBo="; + hash = "sha256-6xOTqynuYmSpFJ8FJwKcTxhoddlSJuHuvlXRWmSjdeI="; }; postPatch = '' @@ -67,6 +67,10 @@ stdenv.mkDerivation (finalAttrs: { dontWrapQtApps = true; + cmakeFlags = [ + (lib.cmakeBool "ENABLE_QT6" (lib.strings.versionAtLeast qtbase.version "6")) + ]; + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; enableParallelChecking = false; @@ -83,7 +87,10 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Library for mocking DBus interactions using Qt"; - homepage = "https://launchpad.net/libqtdbusmock"; + homepage = "https://gitlab.com/ubports/development/core/libqtdbusmock"; + changelog = "https://gitlab.com/ubports/development/core/libqtdbusmock/-/blob/${ + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + }/ChangeLog"; license = lib.licenses.lgpl3Only; platforms = lib.platforms.unix; teams = [ lib.teams.lomiri ];