8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
34 lines
485 B
Nix
34 lines
485 B
Nix
{ plasmaPackage
|
|
, extra-cmake-modules
|
|
, kconfig
|
|
, kconfigwidgets
|
|
, kdbusaddons
|
|
, kglobalaccel
|
|
, ki18n
|
|
, kwidgetsaddons
|
|
, kxmlgui
|
|
, libkscreen
|
|
, qtdeclarative
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "kscreen";
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules
|
|
];
|
|
buildInputs = [
|
|
kconfig
|
|
kconfigwidgets
|
|
kdbusaddons
|
|
kglobalaccel
|
|
ki18n
|
|
kwidgetsaddons
|
|
kxmlgui
|
|
libkscreen
|
|
qtdeclarative
|
|
];
|
|
postInstall = ''
|
|
wrapKDEProgram "$out/bin/kscreen-console"
|
|
'';
|
|
}
|