about summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2024-05-23 13:55:24 +0200
committerAndreas Rammhold <andreas@rammhold.de>2024-05-23 14:00:08 +0200
commite8bc21290e0017fef0b189ee5ebd2a9dc7889812 (patch)
tree8df6a7cda631df95760b8c1690444ad60448345a /pkgs/applications/window-managers
parentdc2ac5f4eab2600e3179d5c0ea57f09ce1f4c4dd (diff)
hyprlandPlugins.hy3: 0.39.1 -> 0.40.0
This fixes the compatibility issue with hyprland 0.40 and adds two
patches that fixes regressions that were fixed after the latest tag.
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix19
1 files changed, 16 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix b/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix
index 76754dd5f0d8a..9f677165c0c97 100644
--- a/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix
+++ b/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix
@@ -3,6 +3,7 @@
 , pkg-config
 , stdenv
 , hyprland
+, fetchpatch
 }:
 let
   mkHyprlandPlugin = hyprland:
@@ -24,15 +25,27 @@ let
     hy3 = { fetchFromGitHub, cmake, hyprland }:
       mkHyprlandPlugin hyprland {
         pluginName = "hy3";
-        version = "0.39.1";
+        version = "0.40.0";
 
         src = fetchFromGitHub {
           owner = "outfoxxed";
           repo = "hy3";
-          rev = "hl0.39.1";
-          hash = "sha256-PqVld+oFziSt7VZTNBomPyboaMEAIkerPQFwNJL/Wjw=";
+          rev = "hl0.40.0";
+          hash = "sha256-Y9bIML3C5xyKKv+Yel4LUfSkScwGunOVZkg+Z1dPwHI=";
         };
 
+        patches = [
+          (fetchpatch {
+            url = "https://github.com/outfoxxed/hy3/commit/33c8d761ff1c1d2264f7549a7bcfc010929d153c.patch";
+            hash = "sha256-GcLQ38IVGB6VFMviKqWAM9ayjC2lpWekx3kqrnwsLhk=";
+          })
+
+          (fetchpatch {
+            url = "https://github.com/outfoxxed/hy3/commit/400930e0391a0e13ebbc6a3b9fe162e00aaad89a.patch";
+            hash = "sha256-DVrZSkXE4uKrAceGpUZklqrVRzV1CpNRgjpq0uOz0jk=";
+          })
+        ];
+
         nativeBuildInputs = [ cmake ];
 
         dontStrip = true;