1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
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
}