aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2021-01-23 16:47:08 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2021-01-24 11:39:16 +0100
commitc2fe94abbb962577a4450176804d3f23c669a224 (patch)
tree3eb2e3cfb2134b5f3ad41e808c371c1cc7bc6226 /gnu/packages
parent773ffd1f1e2ba0aa9b17ccb0947ab0f15cabae37 (diff)
downloadguix-c2fe94abbb962577a4450176804d3f23c669a224.tar.gz
guix-c2fe94abbb962577a4450176804d3f23c669a224.zip
gnu: Add trivial-do.
* gnu/packages/lisp-xyz.scm (cl-trivial-do, ecl-trivial-do, sbcl-trivial-do): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 225edf697b..0137bf3603 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13569,3 +13569,32 @@ to write documentation that can be internationalised.")
(define-public cl-multilang-documentation
(sbcl-package->cl-source-package sbcl-multilang-documentation))
+
+(define-public sbcl-trivial-do
+ (let ((commit "03a1729f1e71bad3ebcf6cf098a0cce52dfa1163"))
+ (package
+ (name "sbcl-trivial-do")
+ (version (git-version "0.1" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/yitzchak/trivial-do")
+ (commit commit)))
+ (file-name (git-file-name name commit))
+ (sha256
+ (base32 "1ffva79nkicc7wc8c2ic5nayis3b2rk5sxzj74yjkymkjgbpcrgd"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/yitzchak/trivial-do")
+ (synopsis "Additional dolist style macros for Common Lisp")
+ (description
+ "Additional dolist style macros for Common Lisp, such as
+@code{doalist}, @code{dohash}, @code{dolist*}, @code{doplist}, @code{doseq}
+and @code{doseq*}.")
+ (license license:zlib))))
+
+(define-public ecl-trivial-do
+ (sbcl-package->ecl-package sbcl-trivial-do))
+
+(define-public cl-trivial-do
+ (sbcl-package->cl-source-package sbcl-trivial-do))