summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-08-26 16:19:36 +0200
committerJulien Lepiller <julien@lepiller.eu>2018-09-01 23:08:40 +0200
commit0312706955d9b790671af4c8553bf70cf07057d0 (patch)
treeeb3ea473c6f389ca1c2a0e1c3abbf708d9f63ffb /gnu/packages/ruby.scm
parent197ca8ecd20e52bc5993dbc2f223274fcdb85e36 (diff)
downloadpatches-0312706955d9b790671af4c8553bf70cf07057d0.tar
patches-0312706955d9b790671af4c8553bf70cf07057d0.tar.gz
gnu: Add ruby-kramdown.
* gnu/packages/ruby.scm (ruby-kramdown): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index dcc79732a5..f7688aa51a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5611,3 +5611,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 "https://kramdown.gettalong.org/")
+ (synopsis "Markdown parsing and converting library")
+ (description "Kramdown is a 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)))