8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
85 lines
1.2 KiB
Nix
85 lines
1.2 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
|
|
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
|
|
];
|
|
patches = [ ./kwin-import-plugin-follow-symlinks.patch ];
|
|
postInstall = ''
|
|
wrapKDEProgram "$out/bin/kwin_x11"
|
|
wrapKDEProgram "$out/bin/kwin_wayland"
|
|
'';
|
|
}
|