summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-09-15 13:21:31 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:16:33 +0100
commitd98205b4fc00cc3387df911217bffb896d078100 (patch)
treef280f7631f9a6ca17d70fc78af68a11efe60b886 /gnu
parentac83dc82ea9f458a4040d4449de993d373fa0fdf (diff)
downloadguix-d98205b4fc00cc3387df911217bffb896d078100.tar.gz
gnu: Add gash-core-utils.
* gnu/packages/shells.scm (gash-core-utils): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/shells.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 0e61284c50..a25c15443f 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -855,3 +855,36 @@ designed to be capable of bootstrapping their standard GNU counterparts.
 Underpinning these utilities are many Scheme interfaces for manipulating
 files and text.")
     (license gpl3+)))
+
+(define-public gash-core-utils
+  (package
+    (name "gash-core-utils")
+    (version "0.0.211-789c3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://lilypond.org/janneke/guix/20191123/"
+                                  "/gash-core-utils-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ycf0ivyn9q3lc9hwq8vxg6wkwpsykvh48a5lrzsmganh0ma8wrr"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("guile" ,guile-2.2)
+       ("gash" ,gash)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-test
+           (lambda _
+             (substitute* "tests/core-utils.org"
+               (("ls \\(GASH\\) UNKNOWN") "ls (GASH) 0.0.211-789c3"))
+             #t)))))
+    (home-page "https://gitlab.com/janneke/gash-core-utils")
+    (synopsis "Bootstrappable replacement of core GNU utilities in Guile Scheme")
+    (description "Gash Core Utils provides core GNU utilities in Guile
+Scheme as bootstrappable replacement for GNU coreutils&co.")
+    (license gpl3+)))