[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/05: gnu: Add grml-zsh-config.
From: |
guix-commits |
Subject: |
03/05: gnu: Add grml-zsh-config. |
Date: |
Mon, 12 Sep 2022 09:26:11 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 9877fb03f0b1634d53d51c6777f6c4a73934360d
Author: kiasoc5 <kiasoc5@disroot.org>
AuthorDate: Wed Sep 7 23:58:57 2022 -0400
gnu: Add grml-zsh-config.
* gnu/packages/shellutils.scm (grml-zsh-config): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/shellutils.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 06860dc5b2..e70b9ef706 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -57,6 +57,7 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages ruby)
#:use-module (gnu packages shells)
+ #:use-module (gnu packages textutils)
#:use-module (gnu packages tmux)
#:use-module (gnu packages vim))
@@ -271,6 +272,38 @@ interactive terminal. This helps in reviewing commands
before running them,
particularly in catching syntax errors.")
(license license:bsd-3)))
+(define-public grml-zsh-config
+ (package
+ (name "grml-zsh-config")
+ (version "0.19.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://deb.grml.org/pool/main/g/grml-etc-core/grml-etc-core_"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "05fri77028znjnvmh8mz3424rn8ilysj7hn8br2hk1qwkp4zzwp9"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases
+ %standard-phases
+ (add-before 'install 'make-doc
+ (lambda _ (with-directory-excursion "doc" (invoke "make")))))
+ #:install-plan
+ #~'(("etc/skel/.zshrc" "etc/skel/.zshrc")
+ ("etc/zsh/keephack" "etc/zsh/keephack")
+ ("etc/zsh/zshrc" "etc/zsh/zshrc")
+ ("doc/grmlzshrc.5" "share/man/man5/grmlzshrc.5"))))
+ (native-inputs (list txt2tags))
+ (home-page "https://grml.org/zsh/")
+ (synopsis "Grml's zsh configuration")
+ (description "This package provides an interactive setup for zsh
+preconfigured by the Grml project.")
+ (license license:gpl2)))
+
(define-public sh-z
(package
(name "sh-z")