This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new dc93f8c7f7 gnu: Add zzz.
dc93f8c7f7 is described below

commit dc93f8c7f77c50f1de5717e3e67ba4f8d693dc03
Author: Luis Guilherme Coelho <[email protected]>
AuthorDate: Sun Jan 25 08:39:46 2026 -0300

    gnu: Add zzz.
    
    * gnu/packages/admin.scm (zzz): New variable.
    
    Merges guix/guix!5905
    
    Change-Id: I7dcc021e6cc9b0892a5a8ad0b333e63d24d46d16
    Modified-by: Cayetano Santos <[email protected]>
    Signed-off-by: Cayetano Santos <[email protected]>
---
 gnu/packages/admin.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 4de5f9581d..df2c394ea9 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -80,6 +80,7 @@
 ;;; Copyright © 2025 Luca Kredel <[email protected]>
 ;;; Copyright © 2025 ROCKTAKEY <[email protected]>
 ;;; Copyright © 2026 Andreas Enge <[email protected]>
+;;; Copyright © 2026 Luis Guilherme Coelho <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7113,3 +7114,37 @@ working directory, user, pid, command, and so on.")
     (description "This package contains a debugging tool for Allwinner devices
 (connects via USB OTG).")
     (license license:expat)))
+
+(define-public zzz
+  (package
+    (name "zzz")
+    (version "20250212")
+    (source
+     (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/void-linux/void-runit";)
+            (commit version)))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32
+        "00nbnjmxwvqj5hf0g00ma26hb29i9mr05g8ls24icp1409c2ykkc"))))
+    (build-system copy-build-system)
+    (arguments
+     (list #:install-plan
+           #~'(("zzz" "sbin/")
+               ("zzz.8" "share/man/man8/"))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'patch-zzz
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "zzz"
+                     (("flock") (search-input-file inputs "bin/flock"))
+                     (("grep") (search-input-file inputs "bin/grep"))))))))
+    (inputs
+     (list grep util-linux))
+    (home-page "https://github.com/void-linux/void-runit";)
+    (synopsis "Simple script to suspend or hibernate your computer")
+    (description "Simple script to suspend or hibernate your computer.  It
+suports hooks before and after suspending.")
+    (license license:cc0)))

Reply via email to