mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
qt6Packages.libqtdbusmock: init at 0.10.0
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
qtbase,
|
||||
}:
|
||||
|
||||
let
|
||||
withQt6 = lib.strings.versionAtLeast qtbase.version "6";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libqtdbusmock";
|
||||
version = "0.10.0";
|
||||
@@ -68,7 +71,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
dontWrapQtApps = true;
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "ENABLE_QT6" (lib.strings.versionAtLeast qtbase.version "6"))
|
||||
(lib.cmakeBool "ENABLE_QT6" withQt6)
|
||||
];
|
||||
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
@@ -95,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
platforms = lib.platforms.unix;
|
||||
teams = [ lib.teams.lomiri ];
|
||||
pkgConfigModules = [
|
||||
"libqtdbusmock-1"
|
||||
"libqtdbusmock${lib.optionalString withQt6 "-qt6"}-1"
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -75,6 +75,10 @@ makeScopeWithSplicing' {
|
||||
|
||||
libqtpas = callPackage ../development/compilers/fpc/libqtpas.nix { };
|
||||
|
||||
libqtdbusmock = callPackage ../development/libraries/libqtdbusmock {
|
||||
inherit (pkgs.lomiri-qt6) cmake-extras;
|
||||
};
|
||||
|
||||
libqtdbustest = callPackage ../development/libraries/libqtdbustest {
|
||||
inherit (pkgs.lomiri-qt6) cmake-extras;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user