unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Charles via Guix-patches via <guix-patches@gnu.org>
To: 49234@debbugs.gnu.org
Subject: [bug#49234] Add cl-markkup-reader
Date: Sat, 26 Jun 2021 15:36:28 +0000	[thread overview]
Message-ID: <tu2BeALmum26ONCUy-98tiJE4g1wZMxt4sNVgwNwIn-CV0iVW3JsIkZ6Z0LJAs3kNSTucCLa3P-gktqFQhXzuF6SSPC44CBVNK0Jq-u0hzY=@protonmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 86 bytes --]

Patch is attatched. Like last time, I'm still new to this and appreciate any feedback.

[-- Attachment #1.2: Type: text/html, Size: 97 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-cl-markup-reader.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-cl-markup-reader.patch, Size: 2364 bytes --]

From 0b18edbfc77292bb7dd55b70e0abcd9279a45c54 Mon Sep 17 00:00:00 2001
From: Charles <charles.b.jackson@protonmail.com>
Date: Sat, 26 Jun 2021 09:31:11 -0500
Subject: [PATCH] gnu: Add cl-markup-reader.

* gnu/packages/fonts.scm (sbcl-markup-reader): Add new variable.
* gnu/packages/fonts.scm (ecl-markup-reader): Add new variable.
* gnu/packages/fonts.scm (cl-markup-reader): Add new variable.
---
 gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1bd35d5812..f8aae805ed 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -3591,6 +3591,43 @@ Lisp, featuring:
 (define-public ecl-cl-markup
   (sbcl-package->ecl-package sbcl-cl-markup))
 
+(define-public sbcl-markup-reader
+  (package
+    (name "sbcl-markup-reader")
+    (version "0.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/moderninterpreters/markup")
+             (commit "d2d4d7b073554f47c24223a9304452966608702e")))
+       (file-name (git-file-name "markup-reader" version))
+       (sha256
+        (base32 "0i3v938j8zpzkd6p9j8gadp5zndjcdxhswj1qgsp592v6497rpzj"))))
+    (build-system asdf-build-system/sbcl)
+    (arguments
+     '(#:asd-files '("markup.asd")
+       #:asd-systems '("markup")))
+    (inputs
+     `(("sbcl-cl-str" ,sbcl-cl-str)
+       ("sbcl-alexandria" ,sbcl-alexandria)
+       ("sbcl-named-readtables" ,sbcl-named-readtables)
+       ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
+    (home-page "https://github.com/moderninterpreters/markup")
+    (synopsis "Markup provides a reader-macro to read HTML tags inside of
+Common Lisp code")
+    (description "Markup allows the use of HTML syntax with in Common Lisp code.
+This has the advantage of being able to copy HTML snippets and have the
+instantly be functional, less double quotes than a s-expression approach, and
+designers will be able to understand the embeded HTML.")
+    (license license:asl2.0)))
+
+(define-public ecl-markup-reader
+  (sbcl-package->ecl-package sbcl-markup-reader))
+
+(define-public cl-markup-reader
+  (sbcl-package->cl-source-package sbcl-markup-reader))
+
 (define-public sbcl-cl-mustache
   (package
     (name "sbcl-cl-mustache")
-- 
2.32.0


             reply	other threads:[~2021-06-26 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26 15:36 Charles via Guix-patches via [this message]
2021-06-27  9:16 ` bug#49234: Add cl-markkup-reader 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='tu2BeALmum26ONCUy-98tiJE4g1wZMxt4sNVgwNwIn-CV0iVW3JsIkZ6Z0LJAs3kNSTucCLa3P-gktqFQhXzuF6SSPC44CBVNK0Jq-u0hzY=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=49234@debbugs.gnu.org \
    --cc=charles.b.jackson@protonmail.com \
    /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).