summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-12-01 12:36:29 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-12-01 12:38:47 +0100
commit65bf9f6b2d88dfb91f56a5cc3eefc273647d7a91 (patch)
tree97dfb25dfb257c146aba1b7f6547f98ba3c881d0 /gnu
parent91d59549a7c9bfe3c458b68f9cd072c5e7853c0e (diff)
gnu: Add clesh.
* gnu/packages/lisp-xyz.scm (cl-clesh, ecl-clesh, sbcl-clesh): New variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 3b85054d0e..f2442dc376 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -12041,3 +12041,35 @@ It's independent of the implementation and operating system.")
(define-public ecl-trivial-shell
(sbcl-package->ecl-package sbcl-trivial-shell))
+
+(define-public sbcl-clesh
+ (let ((commit "44e96e04a72e5bc006dc4eb02ce8962348dd4a11"))
+ (package
+ (name "sbcl-clesh")
+ (version (git-version "0.0.0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Neronus/Clesh")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "012ry02djnqyvvs61wbbqj3saz621w2l9gczrywdxhi5p4ycx318"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("trivial-shell" ,sbcl-trivial-shell)
+ ("named-readtables" ,sbcl-named-readtables)))
+ (home-page "https://github.com/Neronus/Clesh")
+ (synopsis "Embed shell code in Common Lisp")
+ (description
+ "This is a very short and simple program, written in Common Lisp, that
+extends Common Lisp to embed shell code in a manner similar to Perl's
+backtick. It has been forked from SHELISP.")
+ (license license:bsd-2))))
+
+(define-public cl-clesh
+ (sbcl-package->cl-source-package sbcl-clesh))
+
+(define-public ecl-clesh
+ (sbcl-package->ecl-package sbcl-clesh))