nixpkgs/pkgs/desktops/kde-5/plasma-5.5/kscreen.nix
2016-03-01 10:36:00 -06:00

34 lines
719 B
Nix

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