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.
This commit is contained in:
Andreas Rammhold 2024-05-23 13:55:24 +02:00
parent dc2ac5f4ea
commit e8bc21290e

View File

@ -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;