unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53177] [PATCH] gnu: Add cl-sxml.
@ 2022-01-11  4:26 Foo Chuan Wei
  2022-01-11 14:32 ` bug#53177: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Foo Chuan Wei @ 2022-01-11  4:26 UTC (permalink / raw)
  To: 53177

* gnu/packages/lisp-xyz.scm (cl-sxml, sbcl-cl-sxml): New variables.
---
 gnu/packages/lisp-xyz.scm | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9100ebe0f1..797d506b6c 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -27,7 +27,7 @@
 ;;; Copyright © 2021 Cage <cage-dev@twistfold.it>
 ;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
 ;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
-;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
+;;; Copyright © 2021, 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2021 Jacob MacDonald <jaccarmac@gmail.com>
@@ -20182,6 +20182,40 @@ APL.")
 (define-public ecl-april
   (sbcl-package->ecl-package sbcl-april))
 
+(define-public sbcl-cl-sxml
+  (let ((commit "e5542b1d9bd6cee03ae27547d00660ccfbb60109")
+        (revision "1"))
+    (package
+      (name "sbcl-cl-sxml")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/eadmund/cl-sxml")
+               (commit commit)))
+         (file-name (git-file-name "cl-sxml" version))
+         (sha256
+          (base32 "1105s9whidq1lf0lli2wdhcfcs5gwzxa0h1x3izx4mp2p7psvciz"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-cxml))
+      (native-inputs
+       (list sbcl-fiveam
+             sbcl-flexi-streams))
+      (home-page "https://github.com/eadmund/cl-sxml")
+      (synopsis "SXML parsing for Common Lisp")
+      (description
+       "@code{CL-SXML} implements Oleg Kiselyov’s SXML, an S-expression-based
+rendering of the XML Infoset.")
+      (license license:gpl3+))))
+
+(define-public cl-sxml
+  (sbcl-package->cl-source-package sbcl-cl-sxml))
+
+;; According to CL-SXML's README, CL-SXML "does not currently work with ECL".
+;; (define-public ecl-cl-sxml
+;;   (sbcl-package->ecl-package sbcl-cl-sxml))
+
 (define-public sbcl-cl-gopher
   (let ((commit "29fbe52e3f377e24e8bde77b00789a1e32a75b90")
         (revision "1"))

base-commit: 83abdc8371d90b6d4591a69fae5585a2a99c1627
-- 
2.25.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#53177: [PATCH] gnu: Add cl-sxml.
  2022-01-11  4:26 [bug#53177] [PATCH] gnu: Add cl-sxml Foo Chuan Wei
@ 2022-01-11 14:32 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-01-11 14:32 UTC (permalink / raw)
  To: Foo Chuan Wei; +Cc: 53177-done

[-- Attachment #1: Type: text/plain, Size: 128 bytes --]

Patch pushed as c774717d474d51603cc4913ee756714ca391c004 with the ECL
package enabled (I tested it and it worked fine).
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-11 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11  4:26 [bug#53177] [PATCH] gnu: Add cl-sxml Foo Chuan Wei
2022-01-11 14:32 ` bug#53177: " Guillaume Le Vaillant

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