python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / kde-frameworks / baloo.nix
blob73df056516e81acb9a942f7c997f26bb3095887a
2   mkDerivation,
3   extra-cmake-modules,
4   kauth, kconfig, kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n,
5   kidletime, kio, lmdb, qtbase, qtdeclarative, solid,
6 }:
8 mkDerivation {
9   pname = "baloo";
10   nativeBuildInputs = [ extra-cmake-modules ];
11   buildInputs = [
12     kauth kconfig kcrash kdbusaddons ki18n kio kidletime lmdb qtdeclarative
13     solid
14   ];
15   outputs = [ "out" "dev" ];
16   propagatedBuildInputs = [ kcoreaddons kfilemetadata qtbase ];
18   # kde-baloo.service uses `ExecCondition=@KDE_INSTALL_FULL_BINDIR@/kde-systemd-start-condition ...`
19   # which comes from the "plasma-workspace" derivation, but KDE_INSTALL_* all point at the "baloo" one
20   # (`${lib.getBin pkgs.plasma-workspace}` would cause infinite recursion)
21   postUnpack = ''
22     substituteInPlace "$sourceRoot"/src/file/kde-baloo.service.in \
23       --replace @KDE_INSTALL_FULL_BINDIR@ /run/current-system/sw/bin
24   '';