diff options
| author | Luis Guilherme Coelho <lgcoelho@disroot.org> | 2026-01-25 08:39:46 -0300 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-02-22 19:49:12 +0100 |
| commit | dc93f8c7f77c50f1de5717e3e67ba4f8d693dc03 (patch) | |
| tree | 60386c3b34e94af158f9dea859c5c5f16b934d77 /gnu/packages/admin.scm | |
| parent | e1412e976ba506f59ad37895480cf1b8b19b1263 (diff) | |
gnu: Add zzz.
* gnu/packages/admin.scm (zzz): New variable.
Merges guix/guix!5905
Change-Id: I7dcc021e6cc9b0892a5a8ad0b333e63d24d46d16
Modified-by: Cayetano Santos <csantosb@inventati.org>
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu/packages/admin.scm')
| -rw-r--r-- | gnu/packages/admin.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 4de5f9581d2..df2c394ea91 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -80,6 +80,7 @@ ;;; Copyright © 2025 Luca Kredel <luca.kredel@web.de> ;;; Copyright © 2025 ROCKTAKEY <rocktakey@gmail.com> ;;; Copyright © 2026 Andreas Enge <andreas@enge.fr> +;;; Copyright © 2026 Luis Guilherme Coelho <lgcoelho@disroot.org> ;;; ;;; 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))) |
