From patchwork Sat Jun 26 15:36:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles X-Patchwork-Id: 30734 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5862E27BC81; Sat, 26 Jun 2021 16:38:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DF2D327BC78 for ; Sat, 26 Jun 2021 16:38:09 +0100 (BST) Received: from localhost ([::1]:55068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxANk-0004xs-Lg for patchwork@mira.cbaines.net; Sat, 26 Jun 2021 11:38:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxANe-0004xj-CD for guix-patches@gnu.org; Sat, 26 Jun 2021 11:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lxANe-0001qU-44 for guix-patches@gnu.org; Sat, 26 Jun 2021 11:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lxANd-0003vK-QR for guix-patches@gnu.org; Sat, 26 Jun 2021 11:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49234] Add cl-markkup-reader Resent-From: Charles Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Jun 2021 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 49234@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.162472183715019 (code B ref -1); Sat, 26 Jun 2021 15:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jun 2021 15:37:17 +0000 Received: from localhost ([127.0.0.1]:48474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxAMv-0003uA-58 for submit@debbugs.gnu.org; Sat, 26 Jun 2021 11:37:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:42564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxAMt-0003u3-6A for submit@debbugs.gnu.org; Sat, 26 Jun 2021 11:37:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxAMs-0004wF-LG for guix-patches@gnu.org; Sat, 26 Jun 2021 11:37:14 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:46520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxAMq-0001Fv-5n for guix-patches@gnu.org; Sat, 26 Jun 2021 11:37:14 -0400 Date: Sat, 26 Jun 2021 15:36:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1624721790; bh=1WAHLZw1aqbLv43qK2l2uzmTmUTbNWhATYuMI8Q5rhY=; h=Date:To:From:Reply-To:Subject:From; b=Z0I4bZFVxi6E98Faqo6DuVvST0gRj8/0ZmWzn6bVmGs7AfawTt1x/Ybd2UxqlO0O1 s0nIdGA/dnNhB09oGCd4/r9wS4Pyey+/VRP/IPvLRcH/jV6nQdQt62ZwvM/p8A6e2Q c7ShVzjUB+EtE94JNOv7RUX2xK5TAKaqc7P6cDsM= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=51.77.79.158; envelope-from=charles.b.jackson@protonmail.com; helo=mail-0201.mail-europe.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Charles X-ACL-Warn: , Charles via Guix-patches X-Patchwork-Original-From: Charles via Guix-patches via From: Charles X-getmail-retrieved-from-mailbox: Patches Patch is attatched. Like last time, I'm still new to this and appreciate any feedback. From 0b18edbfc77292bb7dd55b70e0abcd9279a45c54 Mon Sep 17 00:00:00 2001 From: Charles 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