mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
42 lines
846 B
Nix
42 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"
|
|
'';
|
|
}
|