Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / desktops / plasma-5 / plasma-bigscreen.nix
blobf94b49efabc79e82d643b898f831ac87a8cf5ae4
1 { mkDerivation
2 , extra-cmake-modules
3 , kactivities
4 , kactivities-stats
5 , plasma-framework
6 , ki18n
7 , kirigami2
8 , kdeclarative
9 , kcmutils
10 , knotifications
11 , kio
12 , kwayland
13 , kwindowsystem
14 , plasma-workspace
15 , qtmultimedia
17 mkDerivation {
18   pname = "plasma-bigscreen";
19   nativeBuildInputs = [ extra-cmake-modules ];
20   buildInputs = [
21     kactivities
22     kactivities-stats
23     plasma-framework
24     ki18n
25     kirigami2
26     kdeclarative
27     kcmutils
28     knotifications
29     kio
30     kwayland
31     kwindowsystem
32     plasma-workspace
33     qtmultimedia
34   ];
36   postPatch = ''
37     substituteInPlace bin/plasma-bigscreen-wayland.in \
38       --replace @KDE_INSTALL_FULL_LIBEXECDIR@ "${plasma-workspace}/libexec"
39   '';
41   preFixup = ''
42     wrapQtApp $out/bin/plasma-bigscreen-x11
43     wrapQtApp $out/bin/plasma-bigscreen-wayland
44   '';
46   passthru.providedSessions = [ "plasma-bigscreen-x11" "plasma-bigscreen-wayland" ];