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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51168 in the body.
You can then email your comments to 51168 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51168; Package guix-patches. (Tue, 12 Oct 2021 19:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 12 Oct 2021 19:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/3] Add cl-yaml
Date: Tue, 12 Oct 2021 19:12:58 +0000
cl-yaml depends on cl-libyaml and cl-generic-comparability.

Foo Chuan Wei (3):
  gnu: Add cl-generic-comparability
  gnu: Add cl-libyaml
  gnu: Add cl-yaml

 gnu/packages/lisp-xyz.scm | 116 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 116 insertions(+)


base-commit: 344d81f35d124e7540804ac75125395f6c334a27
-- 
2.25.1





Information forwarded to guix-patches <at> gnu.org:
bug#51168; Package guix-patches. (Tue, 12 Oct 2021 19:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 51168 <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: 51168 <at> debbugs.gnu.org
Subject: [PATCH 1/3] gnu: Add cl-generic-comparability
Date: Tue, 12 Oct 2021 19:16:10 +0000
* gnu/packages/lisp-xyz.scm (sbcl-generic-comparability,
  cl-generic-comparability, ecl-generic-comparability):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 5d9db448d0..8e26b40b5e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18841,3 +18841,37 @@ formats within this framework.")
 
 (define-public cl-feeder
   (sbcl-package->cl-source-package sbcl-feeder))
+
+(define-public sbcl-generic-comparability
+  (let ((commit "53fc2846319a6eb46b36581e203e1f1542a8acff")
+        (revision "1"))
+    (package
+      (name "sbcl-generic-comparability")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/pnathan/generic-comparability")
+                       (commit commit)))
+                (sha256
+                  (base32
+                    "01ma0cwirxarwwmdwflnh8kmysmr2smh5kyvzhb2074ljxg8yq2p"))
+                (file-name (git-file-name name version))))
+      (build-system asdf-build-system/sbcl)
+      (inputs `(("alexandria" ,sbcl-alexandria)))
+      (native-inputs `(("fiveam" ,sbcl-fiveam)))
+      (home-page "https://github.com/pnathan/generic-comparability")
+      (synopsis "Implementation of cdr-8")
+      (description
+        "GENERIC-COMPARABILITY is an implementation of CDR-8 (Generic Equality
+and Comparison for Common Lisp). CDR-8 provides an interface for the EQUALS
+function, which is defined as a general equality predicate, as well as a set of
+ordering (COMPARE) functions for comparison. The semantics are described in the
+CDR-8 standard.")
+      (license license:llgpl))))
+
+(define-public cl-generic-comparability
+  (sbcl-package->cl-source-package sbcl-generic-comparability))
+
+(define-public ecl-generic-comparability
+  (sbcl-package->ecl-package sbcl-generic-comparability))
-- 
2.25.1





Information forwarded to guix-patches <at> gnu.org:
bug#51168; Package guix-patches. (Tue, 12 Oct 2021 19:19:01 GMT) Full text and rfc822 format available.

Message #11 received at 51168 <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: 51168 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: Add cl-libyaml
Date: Tue, 12 Oct 2021 19:18:45 +0000
* gnu/packages/lisp-xyz.scm (sbcl-libyaml, cl-libyaml, ecl-libyaml):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 8e26b40b5e..4395e54899 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -84,6 +84,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages serialization)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tcl)
@@ -18875,3 +18876,45 @@ CDR-8 standard.")
 
 (define-public ecl-generic-comparability
   (sbcl-package->ecl-package sbcl-generic-comparability))
+
+(define-public sbcl-libyaml
+  (let ((commit "a7fe9f68bddfd00b7ca467b65b3b41b276336843")
+        (revision "1"))
+    (package
+      (name "sbcl-libyaml")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/eudoxia0/cl-libyaml")
+                       (commit commit)))
+                (sha256
+                  (base32
+                    "06pvmackyhq03rjmihpx6w63m6cy8wx78ll5xpwwvd85bgrqq817"))
+                (file-name (git-file-name name version))))
+      (build-system asdf-build-system/sbcl)
+      (inputs `(("cffi" ,sbcl-cffi)
+                ("libyaml" ,libyaml)))
+      (arguments '(#:asd-systems '("cl-libyaml")
+                   #:phases
+                   (modify-phases %standard-phases
+                     (add-after 'unpack 'fix-paths
+                       (lambda* (#:key inputs #:allow-other-keys)
+                         (substitute* "src/library.lisp"
+                           (("libyaml.so")
+                            (string-append (assoc-ref inputs "libyaml")
+                                           "/lib/libyaml.so")))
+                         #t)))))
+      (home-page "https://github.com/eudoxia0/cl-libyaml")
+      (synopsis "libyaml bindings for Common Lisp")
+      (description
+        "This is a home-spun binding to the libyaml library. It's not meant as
+a full library for YAML, just a bare binding with a couple of utility macros.
+For a YAML parser and emitter using this, check out cl-yaml.")
+      (license license:expat))))
+
+(define-public cl-libyaml
+  (sbcl-package->cl-source-package sbcl-libyaml))
+
+(define-public ecl-libyaml
+  (sbcl-package->ecl-package sbcl-libyaml))
-- 
2.25.1





Information forwarded to guix-patches <at> gnu.org:
bug#51168; Package guix-patches. (Tue, 12 Oct 2021 19:23:02 GMT) Full text and rfc822 format available.

Message #14 received at 51168 <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: 51168 <at> debbugs.gnu.org
Subject: [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





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Wed, 13 Oct 2021 08:55:02 GMT) Full text and rfc822 format available.

Notification sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
bug acknowledged by developer. (Wed, 13 Oct 2021 08:55:02 GMT) Full text and rfc822 format available.

Message #19 received at 51168-done <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
Cc: 51168-done <at> debbugs.gnu.org
Subject: Re: [bug#51168] [PATCH 0/3] Add cl-yaml
Date: Wed, 13 Oct 2021 08:53:07 +0000
[Message part 1 (text/plain, inline)]
Patches pushed as 7b8ac3e9a3b7d132fe9d564ebd8db3b89766e3b0 and following
with a few modifications.
Thanks.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Nov 2021 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 164 days ago.

Previous Next


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