From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Edrosa Subject: [PATCH] Add guile-commonmark Date: Thu, 4 Aug 2016 22:08:22 -0400 Message-ID: <9a8e18c9-2578-60df-3fc9-57af5436f22f@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------99D443F4594AEDDB9B822D7C" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVUYk-0006Ix-LT for guix-devel@gnu.org; Thu, 04 Aug 2016 22:08:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVUYj-0001eh-EX for guix-devel@gnu.org; Thu, 04 Aug 2016 22:08:26 -0400 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:36196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVUYj-0001ed-8C for guix-devel@gnu.org; Thu, 04 Aug 2016 22:08:25 -0400 Received: by mail-oi0-x236.google.com with SMTP id f189so71942999oig.3 for ; Thu, 04 Aug 2016 19:08:24 -0700 (PDT) Received: from ?IPv6:2602:306:c5c9:a3e0:eece:d6e9:deeb:a888? ([2602:306:c5c9:a3e0:eece:d6e9:deeb:a888]) by smtp.googlemail.com with ESMTPSA id v35sm7689031ota.11.2016.08.04.19.08.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 19:08:23 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------99D443F4594AEDDB9B822D7C Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hello guix-devel, This is a patch to add guile-commonmark, a fully specified variant of Markdown written in pure Guile. Thanks, Erik --------------99D443F4594AEDDB9B822D7C Content-Type: text/x-patch; name="0001-gnu-Add-guile-commonmark.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-Add-guile-commonmark.patch" =46rom 94785c022cf25e69bd7b46aa455c80fa5ea84989 Mon Sep 17 00:00:00 2001 From: Erik Edrosa Date: Thu, 4 Aug 2016 21:52:18 -0400 Subject: [PATCH] gnu: Add guile-commonmark * gnu/packages/guile.scm (guile-commonmark): New variable. --- gnu/packages/guile.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index f50605a..f26cc22 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -1180,4 +1180,29 @@ configuration file, and then reads and evaluates G= uile expressions that you send to a FIFO file.") (license gpl3+))) =20 +(define-public guile-commonmark + (package + (name "guile-commonmark") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/OrangeShark/" name= + "/releases/download/v" version + "/" name "-" version ".tar.gz")) + (sha256 + (base32 + "12cb5fqvvgc87f5xp0ih5az305wnjia89l5jba83d0r2p8bfy0b0"))= )) + (build-system gnu-build-system) + (inputs + `(("guile" ,guile-2.0))) + (synopsis "CommonMark parser for Guile") + (description + "guile-commonmark is a library for parsing CommonMark, a fully spec= ified +variant of Markdown. The library is written in Guile Scheme and is desi= gned +to transform a CommonMark document to SXML. guile-commonmark tries to c= losely +follow the @uref{http://commonmark.org/, CommonMark spec}, the main diff= erence +is no support for parsing block and inline level HTML.") + (home-page "https://github.com/OrangeShark/guile-commonmark") + (license lgpl3+))) + ;;; guile.scm ends here --=20 2.9.2 --------------99D443F4594AEDDB9B822D7C--