From 95fa4e83e3bc1939ec9b55211b58c81b667e440e Mon Sep 17 00:00:00 2001 From: Murilo Date: Tue, 20 May 2025 14:46:03 -0300 Subject: [PATCH] gnu: hypridle: Update to 0.1.6-1.4f1c165. This update is built against this specific commit for compatibility with non-(e)logind operating-systems. Can go back to regular versioning on next release. See . * gnu/packages/wm.scm (hypridle): Update to 0.1.6-1.4f1c165. [inputs]: Add hyprland-protocols, hyprwayland-scanner. Change-Id: I83481528a030e2564b74c53cef15882fcb02a0d7 Signed-off-by: Hilton Chain --- gnu/packages/wm.scm | 60 ++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 67a380ca0b5..085770d82b4 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -334,34 +334,38 @@ or musca). (license license:bsd-2))) (define-public hypridle - (package - (name "hypridle") - (version "0.1.5") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/hyprwm/hypridle") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1622iz8bl8mi7gj2sc2jq6z7622l7l2izj1l9ajwj2mxpwpkdhbs")))) - (build-system cmake-build-system) - (arguments (list #:tests? #f)) ;No tests. - (native-inputs (list gcc-14 pkg-config)) - (inputs - (list hyprlang - hyprutils - sdbus-c++ - wayland - wayland-protocols)) - (home-page "https://github.com/hyprwm/hypridle") - (synopsis "Hyprland's idle daemon") - (description - "Hyprland's idle daemon, based on the @code{ext-idle-notify-v1} Wayland -protocol. Hypridle has support for D-Bus's loginctl -commands (lock/unlock/before-sleep) and inhibit.") - (license license:bsd-3))) + ;; Go back to regular versioning on next release. + (let ((commit "4f1c165d3e340331de020b46b33a3edb2fd9d55e") + (revision "1")) + (package + (name "hypridle") + (version (git-version "0.1.6" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/hypridle") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1f75vfd5fv8zhd7hy7lg26wmlaslxqj2knf3zi6wnv21n63m3wa1")))) + (build-system cmake-build-system) + (arguments (list #:tests? #f)) ;No tests. + (native-inputs (list gcc-14 pkg-config)) + (inputs + (list hyprland-protocols + hyprlang + hyprutils + hyprwayland-scanner + sdbus-c++ + wayland + wayland-protocols)) + (home-page "https://github.com/hyprwm/hypridle") + (synopsis "Hyprland's idle daemon") + (description "Hyprland's idle daemon, based on the +@code{ext-idle-notify-v1} Wayland protocol. Hypridle has support for D-Bus's +loginctl commands (lock/unlock/before-sleep) and inhibit.") + (license license:bsd-3)))) (define-public hyprland (package