Subject: [bug#32535] [PATCH 28/41] gnu: Add ruby-kramdown.

From: Julien Lepiller <[email-masked]>
Date: Sun, 26 Aug 2018 18:41:50 +0200

* gnu/packages/ruby.scm (ruby-kramdown): New variable.
---
 gnu/packages/ruby.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 649079fbf..12c836e98 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5622,3 +5622,26 @@ definitions.")
     (synopsis "Tables support for Prawn")
     (description "This gem provides tables support for Prawn.")
     (license license:gpl3+)))
+
+(define-public ruby-kramdown
+  (package
+    (name "ruby-kramdown")
+    (version "1.17.0")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "kramdown" version))
+              (sha256
+               (base32
+                "1n1c4jmrh5ig8iv1rw81s4mw4xsp4v97hvf8zkigv4hn5h542qjq"))))
+    (build-system ruby-build-system)
+    (arguments `(#:tests? #f)); FIXME: some test failures
+    (native-inputs
+     `(("ruby-prawn" ,ruby-prawn)
+       ("ruby-prawn-table" ,ruby-prawn-table)))
+    (home-page "http://kramdown.gettalong.org/")
+    (synopsis "Markdown parsing and converting library")
+    (description "library for parsing and converting a superset of Markdown.
+It is completely written in Ruby, supports standard Markdown (with some minor
+modifications) and various extensions that have been made popular by the PHP
+@code{Markdown Extra} package and @code{Maruku}.")
+    (license license:expat)))
-- 
2.18.0