3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/kde-frameworks/kglobalaccel.nix

21 lines
527 B
Nix
Raw Normal View History

2016-10-04 16:08:05 +01:00
{
mkDerivation, lib,
extra-cmake-modules,
2016-10-04 16:08:05 +01:00
kconfig, kcoreaddons, kcrash, kdbusaddons, kservice, kwindowsystem,
qtbase, qttools, qtx11extras,
2016-04-21 16:32:21 +01:00
}:
mkDerivation {
2016-04-21 16:32:21 +01: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 16:32:21 +01:00
}