nixpkgs/pkgs/desktops/plasma-5.4/kwin/default.nix
2015-10-30 16:10:37 -05:00

30 lines
1.1 KiB
Nix

{ plasmaPackage, extra-cmake-modules, kdoctools, epoxy
, kactivities, kcompletion, kcmutils, kconfig, kconfigwidgets
, kcoreaddons, kcrash, kdeclarative, kdecoration, kglobalaccel
, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications
, kpackage, kservice, kwayland, kwidgetsaddons, kwindowsystem
, kxmlgui, libinput, libICE, libSM, plasma-framework, qtdeclarative
, qtscript, qtx11extras, udev, wayland, xcb-util-cursor
}:
plasmaPackage {
name = "kwin";
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
buildInputs = [
epoxy kcompletion kcmutils kconfig kconfigwidgets kcoreaddons
kcrash kdecoration ki18n kiconthemes kinit kio knewstuff
knotifications kpackage kservice kwayland kwidgetsaddons
kwindowsystem kxmlgui libinput libICE libSM plasma-framework
qtdeclarative qtscript qtx11extras udev wayland
xcb-util-cursor
];
propagatedBuildInputs = [ kactivities kdeclarative kglobalaccel ];
patches = [ ./kwin-import-plugin-follow-symlinks.patch ];
postInstall = ''
wrapKDEProgram "$out/bin/kwin_x11"
wrapKDEProgram "$out/bin/kwin_wayland"
'';
}