From: lgcoelho--- via Guix-patches via <guix-patches@gnu.org>
To: 68014@debbugs.gnu.org
Subject: [bug#68014] [PATCH] gnu: admin: Add zzz.
Date: Sun, 24 Dec 2023 19:06:34 +0000 [thread overview]
Message-ID: <76c32f8ea952a9f9f6904d9a69a7bcb1@disroot.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 76 bytes --]
This patch adds zzz, a simple script to suspend or hibernate your
computer.
[-- Attachment #1.2: Type: text/html, Size: 262 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-admin-Add-zzz.patch --]
[-- Type: text/x-diff; name=0001-gnu-admin-Add-zzz.patch, Size: 2321 bytes --]
From 7931f22535d3322e83f89383e572cb6ff845dfc3 Mon Sep 17 00:00:00 2001
From: Luis Guilherme Coelho <lgcoelho@disroot.org>
Date: Sun, 24 Dec 2023 16:04:16 -0300
Subject: [PATCH] gnu: admin: Add zzz.
---
gnu/packages/admin.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5442714665..b168936586 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -62,6 +62,7 @@
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Tobias Kortkamp <tobias.kortkamp@gmail.com>
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
+;;; Copyright © 2023 Luis Guilherme Coelho <lgcoelho@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -79,6 +80,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages admin)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system emacs)
@@ -6038,3 +6040,28 @@ (define-public bfs
versions of @command{find}, including POSIX, GNU, and *BSD find.")
(home-page "https://tavianator.com/projects/bfs.html")
(license license:bsd-0)))
+
+(define-public zzz
+ (let ((commit "329b891426efc093ad8c65e96364427c2fb25b54")
+ (revision "0"))
+ (package
+ (name "zzz")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/void-linux/void-runit")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1lgf3maqw2j9hjzq0bkrvbl7vbh4zpppm9cdl9hvf54kbxcn2v9i"))))
+ (build-system copy-build-system)
+ (arguments
+ (list #:install-plan #~'(("zzz" "bin/")
+ ("zzz.8" "share/man/man8/"))))
+ (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))))
--
2.41.0
reply other threads:[~2023-12-24 19:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76c32f8ea952a9f9f6904d9a69a7bcb1@disroot.org \
--to=guix-patches@gnu.org \
--cc=68014@debbugs.gnu.org \
--cc=lgcoelho@disroot.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).