Unverified Commit e647b29d authored by Mihai Fufezan's avatar Mihai Fufezan
Browse files

hyprlandPlugins.hyprfocus: 0-unstable-2024-11-09 -> 0-unstable-2025-01-04

Remove patch which was applied in the meantime.

Mark as broken.
parent 619ccc28
Loading
Loading
Loading
Loading
+4 −11
Original line number Diff line number Diff line
@@ -3,28 +3,20 @@
  mkHyprlandPlugin,
  hyprland,
  fetchFromGitHub,
  fetchpatch2,
  nix-update-script,
}:

mkHyprlandPlugin hyprland {
  pluginName = "hyprfocus";
  version = "0-unstable-2024-11-09";
  version = "0-unstable-2025-01-04";

  src = fetchFromGitHub {
    owner = "pyt0xic";
    repo = "hyprfocus";
    rev = "bead5b77d80f222c006d1a6c6f44ee8b02021d73";
    hash = "sha256-qIl7opF7fA1ZmC91TGQ7D12tB7kHc6Sn9DrfUN6sbBY=";
    rev = "de6eaf5846b970b697bdf0e20e731b9fbe08654d";
    hash = "sha256-o8uDSynpHAgpQZMjXyDiyQbxi+QgxY62uZeB08PcL/A=";
  };

  patches = [
    (fetchpatch2 {
      url = "https://github.com/pyt0xic/hyprfocus/commit/e7d9ee3c470b194fe16179ff2f16fc4233e928ef.patch";
      hash = "sha256-iETrtvoIZfcaD3TcKIIwFL8Rua0dFEqboml9AgQ/RZ0=";
    })
  ];

  installPhase = ''
    runHook preInstall

@@ -41,5 +33,6 @@ mkHyprlandPlugin hyprland {
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ donovanglover ];
    platforms = lib.platforms.linux;
    broken = true; # Doesn't work on Hyprland v0.47.0+
  };
}