mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
4ec643b125
(partially?) fixes #29951
29 lines
979 B
Nix
29 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) ];
|
|
}
|