From ee8d86ff47e96348b3f50200a784de0373fa00f5 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 13 Feb 2020 22:09:53 +0100 Subject: gnu: Add gash-utils. * gnu/packages/shells.scm (gash-utils): New variable. --- gnu/packages/shells.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'gnu/packages/shells.scm') diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index ec7e658972..2aac6323a0 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2017 Arun Isaac ;;; Copyright © 2019 Meiyo Peng ;;; Copyright © 2019 Timothy Sample -;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2019, 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. @@ -820,3 +820,30 @@ Scheme. It provides both the shell interface, as well as a Guile library for parsing shell scripts. Gash is designed to bootstrap Bash as part of the Guix bootstrap process.") (license gpl3+))) + +(define-public gash-utils + (package + (name "gash-utils") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://savannah/gash/gash-utils-" + version ".tar.gz")) + (sha256 + (base32 + "0ib2p52qmbac5n0s5bys4fiwim461ps546976l1n7pwbs0avh7fk")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("guile" ,guile-2.2) + ("gash" ,gash))) + (home-page "https://savannah.nongnu.org/projects/gash/") + (synopsis "Core POSIX utilities written in Guile Scheme") + (description "Gash-Utils provides Scheme implementations of many +common POSIX utilities (there are about 40 of them, ranging in +complexity from @command{false} to @command{awk}). The utilities are +designed to be capable of bootstrapping their standard GNU counterparts. +Underpinning these utilities are many Scheme interfaces for manipulating +files and text.") + (license gpl3+))) -- cgit v1.2.3