GNU bug report logs - #51168
[PATCH 0/3] Add cl-yaml

Previous Next

Package: guix-patches;

Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>

Date: Tue, 12 Oct 2021 19:14:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: 51168 <at> debbugs.gnu.org
Subject: [bug#51168] [PATCH 3/3] gnu: Add cl-yaml
Date: Tue, 12 Oct 2021 19:21:53 +0000
* 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





This bug report was last modified 3 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.