mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
98bd11125f
libkscreen provides a D-Bus service.
23 lines
573 B
Nix
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"
|
|
'';
|
|
}
|