gnu: Add grml-zsh-config.

* gnu/packages/shellutils.scm (grml-zsh-config): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
kiasoc5 2022-09-07 23:58:57 -04:00 committed by Christopher Baines
parent 08199c69d4
commit 9877fb03f0
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -57,6 +57,7 @@ (define-module (gnu packages shellutils)
#: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 @@ (define-public zsh-syntax-highlighting
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")