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)))) +