From 98844514c07e0b1f2dd69784d7d8261283378511 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Sun, 24 Sep 2023 00:48:25 -0300 Subject: [PATCH] feat: package void zzz in (radix packages admin) --- modules/radix/packages/admin.scm | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 modules/radix/packages/admin.scm diff --git a/modules/radix/packages/admin.scm b/modules/radix/packages/admin.scm new file mode 100644 index 0000000..3375b0a --- /dev/null +++ b/modules/radix/packages/admin.scm @@ -0,0 +1,37 @@ +(define-module (radix packages admin) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix build-system copy) + #:use-module ((guix licenses) #:prefix license:) + #:export (zzz)) + +(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)))) +