From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 57615@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#57615] [PATCH] gnu: Add cl-smug.
Date: Tue, 6 Sep 2022 07:35:56 -0500 [thread overview]
Message-ID: <20220906123556.6448-1-jgart@dismail.de> (raw)
* 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
next reply other threads:[~2022-09-06 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 12:35 jgart via Guix-patches via [this message]
2022-09-07 12:33 ` bug#57615: [PATCH] gnu: Add cl-smug Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220906123556.6448-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=57615@debbugs.gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).