nixpkgs/pkgs/development/libraries/kde-frameworks/baloo.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
899 B
Nix
Raw Normal View History

{
mkDerivation,
extra-cmake-modules,
kauth, kconfig, kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n,
kidletime, kio, lmdb, qtbase, qtdeclarative, solid,
2016-04-21 15:32:21 +00:00
}:
mkDerivation {
2022-02-23 17:28:27 +00:00
pname = "baloo";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kauth kconfig kcrash kdbusaddons ki18n kio kidletime lmdb qtdeclarative
solid
2016-04-21 15:32:21 +00:00
];
outputs = [ "out" "dev" ];
propagatedBuildInputs = [ kcoreaddons kfilemetadata qtbase ];
# kde-baloo.service uses `ExecCondition=@KDE_INSTALL_FULL_BINDIR@/kde-systemd-start-condition ...`
# which comes from the "plasma-workspace" derivation, but KDE_INSTALL_* all point at the "baloo" one
# (`${lib.getBin pkgs.plasma-workspace}` would cause infinite recursion)
postUnpack = ''
substituteInPlace "$sourceRoot"/src/file/kde-baloo.service.in \
--replace @KDE_INSTALL_FULL_BINDIR@ /run/current-system/sw/bin
'';
2016-04-21 15:32:21 +00:00
}