diff mbox series

[bug#51168,3/3] gnu: Add cl-yaml

Message ID PU1PR01MB215575AC0C87D5B2A20945928DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com
State New
Headers show
Series Add cl-yaml | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Foo Chuan Wei Oct. 12, 2021, 7:21 p.m. UTC
* 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 mbox series

Patch

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))