nixpkgs/pkgs/desktops/plasma-5.4/kscreen.nix
Thomas Tuegel 98bd11125f plasma54.kscreen: propagate libkscreen dependency
libkscreen provides a D-Bus service.
2015-12-09 17:18:05 -06:00

23 lines
573 B
Nix

{ plasmaPackage, extra-cmake-modules, kconfig, kconfigwidgets
, kdbusaddons, kglobalaccel, ki18n, kwidgetsaddons, kxmlgui
, libkscreen, makeQtWrapper, qtdeclarative
}:
plasmaPackage {
name = "kscreen";
nativeBuildInputs = [
extra-cmake-modules
makeQtWrapper
];
buildInputs = [
kconfig kconfigwidgets kdbusaddons kwidgetsaddons kxmlgui
];
propagatedBuildInputs = [ kglobalaccel ki18n libkscreen qtdeclarative ];
propagatedUserEnvPkgs = [
libkscreen # D-Bus service
];
postInstall = ''
wrapQtProgram "$out/bin/kscreen-console"
'';
}