Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 53 lines 1.0 kB view raw
1{ 2 mkDerivation, 3 lib, 4 extra-cmake-modules, 5 kauth, 6 kconfig, 7 kcoreaddons, 8 kcrash, 9 kdbusaddons, 10 kfilemetadata, 11 ki18n, 12 kidletime, 13 kio, 14 lmdb, 15 qtbase, 16 qtdeclarative, 17 solid, 18}: 19 20mkDerivation { 21 pname = "baloo"; 22 nativeBuildInputs = [ extra-cmake-modules ]; 23 buildInputs = [ 24 kauth 25 kconfig 26 kcrash 27 kdbusaddons 28 ki18n 29 kio 30 kidletime 31 lmdb 32 qtdeclarative 33 solid 34 ]; 35 outputs = [ 36 "out" 37 "dev" 38 ]; 39 propagatedBuildInputs = [ 40 kcoreaddons 41 kfilemetadata 42 qtbase 43 ]; 44 45 # kde-baloo.service uses `ExecCondition=@KDE_INSTALL_FULL_BINDIR@/kde-systemd-start-condition ...` 46 # which comes from the "plasma-workspace" derivation, but KDE_INSTALL_* all point at the "baloo" one 47 # (`${lib.getBin pkgs.plasma-workspace}` would cause infinite recursion) 48 postUnpack = '' 49 substituteInPlace "$sourceRoot"/src/file/kde-baloo.service.in \ 50 --replace @KDE_INSTALL_FULL_BINDIR@ /run/current-system/sw/bin 51 ''; 52 meta.platforms = lib.platforms.linux ++ lib.platforms.freebsd; 53}