all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: 75338@debbugs.gnu.org
Cc: John Kehayias <john.kehayias@protonmail.com>
Subject: [bug#75338] [PATCH] gnu: Add hypridle.
Date: Sat, 04 Jan 2025 05:30:43 +0000	[thread overview]
Message-ID: <1206addf8158340be70d512f6134439d5bec93c2.1735968562.git.john.kehayias@protonmail.com> (raw)

This depends on the update to sdbus-c++ in <https://issues.guix.gnu.org/74256#2>. I've tested this builds and seems to run but haven't tried it in practice.

Thanks!
John

* gnu/packages/wm.scm (hypridle): New variable.

Change-Id: I4eacd1f26153703fd8078e3895d9473573cb845b
---
 gnu/packages/wm.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index b5fd2307d5..e7a6cb6afc 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -323,6 +323,36 @@ (define-public herbstluftwm
     (home-page "https://herbstluftwm.org")
     (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-13 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)))
+
 (define-public hyprland
   (package
     (name "hyprland")

base-commit: a707ebe5d3875a49523bc17de2d36af6f1c18f7e
prerequisite-patch-id: 3efc585c869da704ca71214328a78b6e6bbad919
prerequisite-patch-id: 82bcb22fe1f5bd69d26626e575b7629f6f223ae3
--
2.47.1






             reply	other threads:[~2025-01-04  5:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-04  5:30 John Kehayias via Guix-patches via [this message]
2025-01-06 19:38 ` bug#75338: [PATCH] gnu: Add hypridle John Kehayias via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1206addf8158340be70d512f6134439d5bec93c2.1735968562.git.john.kehayias@protonmail.com \
    --to=guix-patches@gnu.org \
    --cc=75338@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.