python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / kde-frameworks / kcoreaddons.nix
blobfbd67109946590f58e5ac37194d6a842cad7d5ce
2   mkDerivation, lib,
3   extra-cmake-modules,
4   qtbase, qttools, shared-mime-info
5 }:
7 mkDerivation ({
8   pname = "kcoreaddons";
9   nativeBuildInputs = [ extra-cmake-modules ];
10   buildInputs = [ qttools shared-mime-info ];
11   propagatedBuildInputs = [ qtbase ];
12 } // lib.optionalAttrs (lib.versionAtLeast qtbase.version "6") {
13   dontWrapQtApps = true;
14   cmakeFlags = [
15     "-DBUILD_WITH_QT6=ON"
16     "-DEXCLUDE_DEPRECATED_BEFORE_AND_AT=CURRENT"
17   ];
18   postInstall = ''
19     moveToOutput "mkspecs" "$dev"
20   '';