mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
4ec643b125
(partially?) fixes #29951
30 lines
979 B
Nix
30 lines
979 B
Nix
{
|
|
mkDerivation, lib, makeWrapper,
|
|
extra-cmake-modules, kdoctools,
|
|
kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons,
|
|
ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications,
|
|
knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons,
|
|
kwindowsystem, kxmlgui, qtscript, knewstuff
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "konsole";
|
|
meta = {
|
|
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
buildInputs = [
|
|
kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons kdelibs4support
|
|
kguiaddons ki18n kiconthemes kinit kio knotifications knotifyconfig kparts kpty
|
|
kservice ktextwidgets kwidgetsaddons kwindowsystem kxmlgui qtscript knewstuff
|
|
makeWrapper
|
|
];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/konsole --prefix XDG_DATA_DIRS ":" $out/share
|
|
'';
|
|
|
|
propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
|
|
}
|