nixpkgs/pkgs/desktops/plasma-5.5/kscreen.nix
Thomas Tuegel 2d586b99cc plasma55.kscreen: propagate libkscreen dependency
libkscreen provides a D-Bus service
2015-12-09 16:19:37 -06:00

32 lines
607 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"
'';
}