From f5bdc596ac707cf9822e5a8cb5bc0a619e09c68f Mon Sep 17 00:00:00 2001 From: Chris Josten Date: Thu, 21 May 2020 19:47:02 +0200 Subject: [PATCH] Added latest latte-dock and plasma-window-buttons --- common/gui/pkgs.nix | 1 + overlays/default.nix | 8 ++++++++ overlays/plasma-applet-window-buttons.nix | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 overlays/plasma-applet-window-buttons.nix diff --git a/common/gui/pkgs.nix b/common/gui/pkgs.nix index baa27a7..77629ba 100644 --- a/common/gui/pkgs.nix +++ b/common/gui/pkgs.nix @@ -47,6 +47,7 @@ plasma-integration plasma5.sddm-kcm plasma5.xdg-desktop-portal-kde + my.plasma-applet-window-buttons my.sddm-nx sddm kdeApplications.spectacle diff --git a/overlays/default.nix b/overlays/default.nix index b41a6b6..2414800 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -3,5 +3,13 @@ self: super: rec { my = super.recurseIntoAttrs { sddm-nx = super.callPackage ./nx-sddm.nix {}; + plasma-applet-window-buttons = super.callPackage ./plasma-applet-window-buttons.nix {}; }; + + latte-dock = super.latte-dock.overrideAttrs (oldAttrs: rec{ + src = fetchGit { + url = https://invent.kde.org/plasma/latte-dock.git; + rev = "3c73bff0ac983625f31ec2ed9bc388221e778e75"; + }; + }); } diff --git a/overlays/plasma-applet-window-buttons.nix b/overlays/plasma-applet-window-buttons.nix new file mode 100644 index 0000000..abe6ab8 --- /dev/null +++ b/overlays/plasma-applet-window-buttons.nix @@ -0,0 +1,11 @@ +{ stdenv, fetchurl, cmake, extra-cmake-modules, kdeFrameworks, libsForQt5, plasma-workspace}: + +stdenv.mkDerivation rec { + name = "plasma-applet-window-buttons"; + src = fetchurl { + url = https://github.com/psifidotos/applet-window-buttons/archive/0.8.1.tar.gz; + sha256 = "11l9r8n72yix2x1qnjg048h5p5h516yx3ap94dmkwb8722lzqylz"; + }; + nativeBuildInputs = [ cmake extra-cmake-modules ]; + buildInputs = [ kdeFrameworks.plasma-framework kdeFrameworks.kcoreaddons libsForQt5.kdecoration plasma-workspace ]; +}