mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
48 lines
906 B
Nix
48 lines
906 B
Nix
{ mkDerivation
|
|
, extra-cmake-modules
|
|
, kactivities
|
|
, kactivities-stats
|
|
, plasma-framework
|
|
, ki18n
|
|
, kirigami2
|
|
, kdeclarative
|
|
, kcmutils
|
|
, knotifications
|
|
, kio
|
|
, kwayland
|
|
, kwindowsystem
|
|
, plasma-workspace
|
|
, qtmultimedia
|
|
}:
|
|
mkDerivation {
|
|
pname = "plasma-bigscreen";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [
|
|
kactivities
|
|
kactivities-stats
|
|
plasma-framework
|
|
ki18n
|
|
kirigami2
|
|
kdeclarative
|
|
kcmutils
|
|
knotifications
|
|
kio
|
|
kwayland
|
|
kwindowsystem
|
|
plasma-workspace
|
|
qtmultimedia
|
|
];
|
|
|
|
postPatch = ''
|
|
substituteInPlace bin/plasma-bigscreen-wayland.in \
|
|
--replace @KDE_INSTALL_FULL_LIBEXECDIR@ "${plasma-workspace}/libexec"
|
|
'';
|
|
|
|
preFixup = ''
|
|
wrapQtApp $out/bin/plasma-bigscreen-x11
|
|
wrapQtApp $out/bin/plasma-bigscreen-wayland
|
|
'';
|
|
|
|
passthru.providedSessions = [ "plasma-bigscreen-x11" "plasma-bigscreen-wayland" ];
|
|
}
|