summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkiasoc5 <kiasoc5@disroot.org>2022-09-07 23:58:57 -0400
committerGuix Patches Tester <>2022-09-08 05:02:12 +0100
commit109426399e56983c8b887de3a09804a54c700ddf (patch)
tree650a4569c57ab8d3196b22b3c04245a148d2c690
parent02bee3c3932d238931a888edd08ad4847cd7d73a (diff)
downloadguix-patches-109426399e56983c8b887de3a09804a54c700ddf.tar
guix-patches-109426399e56983c8b887de3a09804a54c700ddf.tar.gz
gnu: Add grml-zsh-config.
* gnu/packages/shellutils.scm (grml-zsh-config): New variable.
-rw-r--r--gnu/packages/shellutils.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 110cbe9fda..0698c25598 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -38,6 +38,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system python)
@@ -56,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))
@@ -677,3 +679,35 @@ source ${GUIX_ENVIRONMENT:-$HOME/.guix-profile}/etc/profile.d/grc.sh
@end example
")
(license license:gpl2)))
+
+(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)))