all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#43008] [PATCH] gnu: Add ruby-kramdown-parser-gfm.
@ 2020-08-23 22:35 Michael Rohleder
  2020-08-24 10:39 ` bug#43008: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2020-08-23 22:35 UTC (permalink / raw)
  To: 43008; +Cc: Michael Rohleder

* 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





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

* bug#43008: [PATCH] gnu: Add ruby-kramdown-parser-gfm.
  2020-08-23 22:35 [bug#43008] [PATCH] gnu: Add ruby-kramdown-parser-gfm Michael Rohleder
@ 2020-08-24 10:39 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-08-24 10:39 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 43008-done

Hello,

Michael Rohleder <mike@rohleder.de> writes:

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

Applied. Thanks!

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2020-08-24 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-23 22:35 [bug#43008] [PATCH] gnu: Add ruby-kramdown-parser-gfm Michael Rohleder
2020-08-24 10:39 ` bug#43008: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.