From 3e6912e83b67184c824218899d59f3a8ef412849 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 21 Aug 2024 14:06:13 -0400 Subject: [PATCH 1/2] hyprlandPlugins.hyprspace: 0-unstable-2024-06-17 -> 0-unstable-2024-08-21 --- .../hyprwm/hyprland-plugins/hyprspace.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix index 66d6fcd7506e..a084ddb4859c 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix @@ -1,26 +1,19 @@ { lib, fetchFromGitHub, - fetchpatch, hyprland, mkHyprlandPlugin, }: mkHyprlandPlugin hyprland { pluginName = "hyprspace"; - version = "0-unstable-2024-06-17"; + version = "0-unstable-2024-08-21"; src = fetchFromGitHub { owner = "KZDKM"; repo = "hyprspace"; - rev = "2f3edb68f47a8f5d99d10b322e9a85a285f53cc7"; - hash = "sha256-iyj4D6c77uROAH9QdZjPd9SKnS/DuACMESqaEKnBgI8="; - }; - - # Fix build for Hyprland v0.41.2+ - patches = fetchpatch { - url = "https://github.com/KZDKM/Hyprspace/commit/edad6cf735097b7cb4406d3fc8daddd09dfa458a.patch"; - hash = "sha256-EVabjPymGAMPtC3Uf6lMJOInvccJhu4t09NXhXhq4RY="; + rev = "743ec37d02bb2b7261f28de16bf404cebfd96105"; + hash = "sha256-w0j/3OeSrpx+S8if1M2ONBsZvJQ1hBQkdTQEiMCHy7o="; }; dontUseCmakeConfigure = true; From 1ba63079be8460758ffb97df1c6b39434d2fca98 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 21 Aug 2024 14:07:35 -0400 Subject: [PATCH 2/2] hyprlandPlugins.hyprspace: add update script --- .../window-managers/hyprwm/hyprland-plugins/hyprspace.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix index a084ddb4859c..ff658d30ce15 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix @@ -3,6 +3,7 @@ fetchFromGitHub, hyprland, mkHyprlandPlugin, + unstableGitUpdater, }: mkHyprlandPlugin hyprland { @@ -27,6 +28,8 @@ mkHyprlandPlugin hyprland { runHook postInstall ''; + passthru.updateScript = unstableGitUpdater { }; + meta = { homepage = "https://github.com/KZDKM/Hyprspace"; description = "Workspace overview plugin for Hyprland";