Files
Jörg Thalheim a5abc637e7 kdePackages.extra-cmake-modules: support all platforms
ECM is a pure CMake macro collection. The KF5-era package had
platforms.all; restore it so non-KDE consumers like turbo-unwrapped
keep evaluating on Darwin.
2026-05-11 11:29:05 +02:00

26 lines
565 B
Nix

{
lib,
mkKdeDerivation,
python3,
}:
mkKdeDerivation {
pname = "extra-cmake-modules";
outputs = [ "out" ];
patches = [
./search-qml.patch
];
# Packages that have an Android APK (e.g. KWeather) require Python3 at build time.
# See: https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/v6.1.0/modules/ECMAddAndroidApk.cmake?ref_type=tags#L57
propagatedNativeBuildInputs = [
python3
];
setupHook = ./ecm-hook.sh;
# Pure CMake macros, also used by non-KDE packages on all platforms.
meta.platforms = lib.platforms.all;
}