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

21 lines
527 B
Nix
Raw Normal View History

2016-10-04 17:08:05 +02:00
{
mkDerivation, lib,
extra-cmake-modules,
2016-10-04 17:08:05 +02:00
kconfig, kcoreaddons, kcrash, kdbusaddons, kservice, kwindowsystem,
qtbase, qttools, qtx11extras,
2016-04-21 17:32:21 +02:00
}:
mkDerivation {
2016-04-21 17:32:21 +02:00
name = "kglobalaccel";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kconfig kcoreaddons kcrash kdbusaddons kservice kwindowsystem qttools
qtx11extras
];
propagatedBuildInputs = [ qtbase ];
postPatch = ''
sed -i src/runtime/org.kde.kglobalaccel.service.in \
-e "s|@CMAKE_INSTALL_PREFIX@|''${!outputBin}|"
'';
2016-04-21 17:32:21 +02:00
}