8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
41 lines
846 B
Nix
41 lines
846 B
Nix
{ plasmaPackage
|
|
, extra-cmake-modules
|
|
, kcmutils
|
|
, kconfig
|
|
, kdelibs4support
|
|
, kdesu
|
|
, kdoctools
|
|
, ki18n
|
|
, kiconthemes
|
|
, kwindowsystem
|
|
, qtsvg
|
|
, qtx11extras
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "kde-cli-tools";
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
buildInputs = [
|
|
kcmutils
|
|
kconfig
|
|
kdelibs4support
|
|
kdesu
|
|
ki18n
|
|
kiconthemes
|
|
kwindowsystem
|
|
qtsvg
|
|
qtx11extras
|
|
];
|
|
postInstall = ''
|
|
wrapKDEProgram "$out/bin/kmimetypefinder5"
|
|
wrapKDEProgram "$out/bin/ksvgtopng5"
|
|
wrapKDEProgram "$out/bin/ktraderclient5"
|
|
wrapKDEProgram "$out/bin/kioclient5"
|
|
wrapKDEProgram "$out/bin/kdecp5"
|
|
wrapKDEProgram "$out/bin/keditfiletype5"
|
|
wrapKDEProgram "$out/bin/kcmshell5"
|
|
wrapKDEProgram "$out/bin/kdemv5"
|
|
wrapKDEProgram "$out/bin/kstart5"
|
|
wrapKDEProgram "$out/bin/kde-open5"
|
|
'';
|
|
}
|