unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51168@debbugs.gnu.org
Subject: [bug#51168] [PATCH 3/3] gnu: Add cl-yaml
Date: Tue, 12 Oct 2021 19:21:53 +0000	[thread overview]
Message-ID: <PU1PR01MB215575AC0C87D5B2A20945928DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <PU1PR01MB2155FE75108C27C706BBBE178DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com>

* gnu/packages/lisp-xyz.scm (sbcl-yaml, cl-yaml, ecl-yaml):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4395e54899..63f580aba6 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18918,3 +18918,42 @@ For a YAML parser and emitter using this, check out cl-yaml.")
 
 (define-public ecl-libyaml
   (sbcl-package->ecl-package sbcl-libyaml))
+
+(define-public sbcl-yaml
+  (let ((commit "c3202be9a753c51f3bc79538a5a498a8865192aa")
+        (revision "1"))
+    (package
+      (name "sbcl-yaml")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/eudoxia0/cl-yaml")
+                       (commit commit)))
+                (sha256
+                  (base32
+                    "1izjg0v6rf7dh069bbnnr67l30lsqj86wdk7y9ggbgiwh6v9j185"))
+                (file-name (git-file-name name version))))
+      (build-system asdf-build-system/sbcl)
+      (inputs `(("cl-libyaml" ,sbcl-libyaml)
+                ("alexandria" ,sbcl-alexandria)
+                ("cl-ppcre" ,sbcl-cl-ppcre)
+                ("parse-number" ,sbcl-parse-number)))
+      (native-inputs `(("fiveam" ,sbcl-fiveam)
+                       ("yason" ,sbcl-yason)
+                       ("generic-comparability" ,sbcl-generic-comparability)
+                       ("cl-fad" ,sbcl-cl-fad)
+                       ("trivial-benchmark" ,sbcl-trivial-benchmark)))
+      (arguments '(#:asd-systems '("cl-yaml")))
+      (home-page "https://github.com/eudoxia0/cl-yaml")
+      (synopsis "YAML parser for Common Lisp")
+      (description
+        "A YAML parser and emitter for Common Lisp built on top of libyaml.
+Uses the cl-libyaml library.")
+      (license license:expat))))
+
+(define-public cl-yaml
+  (sbcl-package->cl-source-package sbcl-yaml))
+
+(define-public ecl-yaml
+  (sbcl-package->ecl-package sbcl-yaml))
-- 
2.25.1





  parent reply	other threads:[~2021-10-12 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-12 19:12 [bug#51168] [PATCH 0/3] Add cl-yaml Foo Chuan Wei
2021-10-12 19:16 ` [bug#51168] [PATCH 1/3] gnu: Add cl-generic-comparability Foo Chuan Wei
2021-10-12 19:18 ` [bug#51168] [PATCH 2/3] gnu: Add cl-libyaml Foo Chuan Wei
2021-10-12 19:21 ` Foo Chuan Wei [this message]
2021-10-13  8:53 ` bug#51168: [PATCH 0/3] Add cl-yaml 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=PU1PR01MB215575AC0C87D5B2A20945928DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
    --to=chuanwei.foo@hotmail.com \
    --cc=51168@debbugs.gnu.org \
    /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).