diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-11-20 12:13:33 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-11-20 15:21:24 +0100 |
commit | d93062fd5c614a74945c1ebd1dbc697d745021c6 (patch) | |
tree | 053c9c65fcac3cbf0d7866a3302f917fefe8a995 /gnu/packages/ruby.scm | |
parent | 97aee8d3ebd5f0fc68c3ff3d9c12368bfe542240 (diff) | |
download | guix-d93062fd5c614a74945c1ebd1dbc697d745021c6.tar guix-d93062fd5c614a74945c1ebd1dbc697d745021c6.tar.gz |
gnu: Add ruby-redcarpet.
* gnu/packages/ruby.scm (ruby-redcarpet): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a213c71e5f..d0550099b4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1223,6 +1223,38 @@ definitions on a Ruby object.") (home-page "https://github.com/floehopper/introspection") (license license:expat))) +(define-public ruby-redcarpet + (package + (name "ruby-redcarpet") + (version "3.3.3") + (source (origin + (method url-fetch) + (uri (rubygems-uri "redcarpet" version)) + (sha256 + (base32 + "14i3wypp97bpk20679d1csy88q4hsgfqbnqw6mryl77m2g0d09pk")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; The gem archive does not include the conformance tests. + (add-after 'unpack 'disable-conformance-tests + (lambda _ + (substitute* "Rakefile" + (("task :test => %w\\[test:unit test:conformance\\]") + "task :test => %w[test:unit]")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-test-unit" ,ruby-test-unit) + ("ruby-rake-compiler" ,ruby-rake-compiler))) + (synopsis "Extensible Markdown to (X)HTML converter") + (description + "Redcarpet is an extensible Ruby library for Markdown processing and +conversion to (X)HTML.") + (home-page "http://github.com/vmg/redcarpet") + (license license:expat))) + (define-public ruby-minitest (package (name "ruby-minitest") |