From d560869c621711bed3a8c56dab2e29a68f9d4f3d Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 28 May 2025 00:37:01 -0700 Subject: [PATCH] Partially revert "imma cry" This reverts commit 2d1517e710d1b472e8af75925f0cbd4c6179394d. This introduced a regression that was patched incorrectly in 7cef671cb11fa360f9fba7c6e67ec4fa6a67b56f --- pkgs/hyprland/hyprscroller.nix | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/pkgs/hyprland/hyprscroller.nix b/pkgs/hyprland/hyprscroller.nix index 4d5351d..f23ced5 100644 --- a/pkgs/hyprland/hyprscroller.nix +++ b/pkgs/hyprland/hyprscroller.nix @@ -1,11 +1,10 @@ { lib, - fetchFromGitHub, hyprland, pkg-config, cmake, - unstableGitUpdater, - ... + version, + src, }: let mkHyprlandPlugin = @@ -27,29 +26,18 @@ let ); in mkHyprlandPlugin hyprland { + inherit version src; pluginName = "hyprscroller"; - version = "0-unstable-2025-05-16"; - - src = fetchFromGitHub { - owner = "cpiber"; - repo = "hyprscroller"; - rev = "de97924b6d1086d84939b6f6688637f7b21d8d80"; - hash = "sha256-m9689UH+w8Z/qP/DKYtzQfIGfiE4jgBAfO+uH34cfNs="; - }; nativeBuildInputs = [ cmake ]; installPhase = '' runHook preInstall - mkdir -p $out/lib mv hyprscroller.so $out/lib/libhyprscroller.so - runHook postInstall ''; - passthru.updateScript = unstableGitUpdater { }; - meta = { homepage = "https://github.com/cpiber/hyprscroller"; description = "Hyprland layout plugin providing a scrolling layout like PaperWM";