mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
d5c070283b
Fixes #12331.
35 lines
719 B
Nix
35 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"
|
|
'';
|
|
}
|