diff options
Diffstat (limited to 'pkgs/desktops/plasma-5.3/startkde/default.nix')
-rw-r--r-- | pkgs/desktops/plasma-5.3/startkde/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/desktops/plasma-5.3/startkde/default.nix b/pkgs/desktops/plasma-5.3/startkde/default.nix new file mode 100644 index 00000000000..624c5d239d5 --- /dev/null +++ b/pkgs/desktops/plasma-5.3/startkde/default.nix @@ -0,0 +1,34 @@ +# We provide our own version of the startkde script in its entirety, rather than +# patching the version provided by kde-workspace, because it requires such +# extensive patching. + +{ stdenv, bash, dbus, gnused, gnugrep, kconfig, kinit, kservice, plasma-desktop +, plasma-workspace, qt5, socat, xorg }: + +let startkde = ./startkde.in; in + +stdenv.mkDerivation { + name = "startkde-0.1"; + phases = "installPhase"; + + inherit bash gnused gnugrep kconfig kinit kservice socat; + inherit (xorg) mkfontdir xmessage xprop xrdb xset xsetroot; + qt5tools = qt5.tools; + dbus_tools = dbus.tools; + plasmaWorkspace = plasma-workspace; + plasmaDesktop = plasma-desktop; + startupconfigkeys = ./startupconfigkeys; + kdeglobals = ./kdeglobals; + + installPhase = '' + mkdir -p $out/bin + substituteAll ${startkde} $out/bin/startkde + chmod +x $out/bin/startkde + ''; + + meta = { + description = "Custom startkde script for Nixpkgs"; + maintainers = with stdenv.lib.maintainers; [ ttuegel ]; + license = with stdenv.lib.licenses; [ gpl2Plus ]; + }; +} |