highs: 1.8.0 -> 1.8.1 (#360451)
[NixPkgs.git] / pkgs / kde / frameworks / extra-cmake-modules / default.nix
blob08b18f38672cd7e1e0b8a1ba02260a314f6de497
2   mkKdeDerivation,
3   fetchpatch,
4   python3,
5 }:
6 mkKdeDerivation {
7   pname = "extra-cmake-modules";
9   outputs = [ "out" ];
11   patches = [
12     # Cherry-pick fix for not finding libmount include path correctly
13     # Upstream PR: https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/486
14     # FIXME: remove in next update
15     (fetchpatch {
16       url = "https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/1cc17521fefd7adb0631d24a03497bcf63b9512d.patch";
17       hash = "sha256-4NbhsVf14YuFHumbnXRgMcS3i/LZUDdrCWHrjHSjuo0=";
18     })
19   ];
21   # Packages that have an Android APK (e.g. KWeather) require Python3 at build time.
22   # See: https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/v6.1.0/modules/ECMAddAndroidApk.cmake?ref_type=tags#L57
23   propagatedNativeBuildInputs = [
24     python3
25   ];
27   setupHook = ./ecm-hook.sh;