[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57615] [PATCH] gnu: Add cl-smug.
From: |
jgart |
Subject: |
[bug#57615] [PATCH] gnu: Add cl-smug. |
Date: |
Tue, 6 Sep 2022 07:35:56 -0500 |
* gnu/packages/lisp-xyz.scm (cl-smug): New variable.
---
gnu/packages/lisp-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 034b5f91a4..25d9d598fb 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22996,3 +22996,38 @@ (define-public cl-ndebug
(define-public ecl-ndebug
(sbcl-package->ecl-package sbcl-ndebug))
+
+(define-public sbcl-smug
+ (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79")
+ (revision "0"))
+ (package
+ (name "sbcl-smug")
+ (version (git-version "20211214" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/drewc/smug")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13gzkj9skya2ziwclk041v7sif392ydbvhvikhg2raa3qjcxb3rq"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ `(#:tests? #f ; There are no tests.
+ #:asd-systems '("smug")))
+ (synopsis "Parser combinators for Common Lisp")
+ (description
+"@code{cl-smug} is a library for parsing text, based on monadic parser
+combinators. Using a simple technique from the functional programming
+camp, @code{cl-smug} makes it simple to create quick extensible recursive
+descent parsers without funky syntax or impenetrable macrology.")
+ (home-page "http://smug.drewc.ca/")
+ (license license:expat))))
+
+(define-public cl-smug
+ (sbcl-package->cl-source-package sbcl-smug))
+
+(define-public ecl-smug
+ (sbcl-package->ecl-package sbcl-smug))
+
--
2.37.2
- [bug#57615] [PATCH] gnu: Add cl-smug.,
jgart <=