Subject: bug#43008: closed (Re: [bug#43008] [PATCH] gnu: Add ruby-kramdown-parser-gfm.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 24 Aug 2020 10:40:02 +0000

Your bug report

#43008: [PATCH] gnu: Add ruby-kramdown-parser-gfm.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43008: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43008
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#43008] [PATCH] gnu: Add ruby-kramdown-parser-gfm.
From: Nicolas Goaziou <[email-masked]>
To: Michael Rohleder <[email-masked]>
Cc: [email-masked]
Date: Mon, 24 Aug 2020 12:39:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Michael Rohleder <[email-masked]> writes:

> * gnu/packages/ruby.scm (ruby-kramdown-parser-gfm): New variable.

Applied. Thanks!

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add ruby-kramdown-parser-gfm.
From: Michael Rohleder <[email-masked]>
To: [email-masked]
Cc: Michael Rohleder <[email-masked]>
Date: Mon, 24 Aug 2020 00:35:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/ruby.scm (ruby-kramdown-parser-gfm): New variable.
---
kramdown > 2.0 (commit 2b5b7809b6e91f7e35cc5f082af815c0a4725d58)
moved the support for the GFM format into this library[1].
This format is (at least) used in our jekyll pkg.

 [1] https://kramdown.gettalong.org/parser/gfm.html

gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3ff93d2252..16ae477755 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10719,6 +10719,28 @@ of Markdown.  It is completely written in Ruby, supports standard Markdown
 popular by the PHP @code{Markdown Extra} package and @code{Maruku}.")
     (license license:expat)))
 
+(define-public ruby-kramdown-parser-gfm
+  (package
+    (name "ruby-kramdown-parser-gfm")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "kramdown-parser-gfm" version))
+       (sha256
+        (base32
+         "0a8pb3v951f4x7h968rqfsa19c8arz21zw1vaj42jza22rap8fgv"))))
+    (build-system ruby-build-system)
+    (arguments `(#:tests? #f))          ; no rakefile
+    (propagated-inputs `(("ruby-kramdown" ,ruby-kramdown)))
+    (synopsis
+     "This provides a kramdown parser for the GFM dialect of Markdown")
+    (description
+     "This is a parser for kramdown that converts Markdown documents in the GFM
+dialect to HTML.")
+    (home-page "https://github.com/kramdown/parser-gfm")
+    (license license:expat)))
+
 (define-public ruby-http-parser.rb
   (package
     (name "ruby-http-parser.rb")
-- 
2.28.0