Unverified Commit 9a50ff1a authored by rewine's avatar rewine Committed by GitHub
Browse files

Merge pull request #313964 from andir/hy3

hyprlandPlugins.hy3: 0.39.1 -> 0.40.0
parents d9062cd5 e8bc2129
Loading
Loading
Loading
Loading
+16 −3
Original line number Diff line number Diff line
@@ -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;