guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add shell-functools.


From: guix-commits
Subject: 01/01: gnu: Add shell-functools.
Date: Sun, 24 Nov 2019 01:42:09 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit 39bf4e0bad499aa6f9388164e73197a501915ff6
Author: Oleg Pykhalov <address@hidden>
Date:   Sun Nov 24 09:31:26 2019 +0300

    gnu: Add shell-functools.
    
    * gnu/packages/shellutils.scm (shell-functools): New variable.
---
 gnu/packages/shellutils.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 83bbb55..a5d2601 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -316,3 +316,26 @@ commands that are obsolete or contain a piece of sensitive 
information) or
 bookmark your favourite commands.")
     (home-page "http://me.mindforger.com/projects/hh.html";)
     (license license:asl2.0)))
+
+(define-public shell-functools
+  (package
+    (name "shell-functools")
+    (version "0.3.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/sharkdp/shell-functools.git";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0d6zzg7cxfrzwzh1wmpj7q85kz33sak6ac59ncsm6dlbin12h0hi"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/sharkdp/shell-functools/";)
+    (synopsis "Functional programming tools for the shell")
+    (description "This package provides higher order functions like map,
+filter, foldl, sort_by and take_while as simple command-line tools. Following
+the UNIX philosophy, these commands are designed to be composed via pipes. A
+large collection of functions such as basename, replace, contains or is_dir
+are provided as arguments to these commands.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]