aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-01-08 12:31:59 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:24 -0400
commitccddc7c19fe83206ff7916902349d335bbdc744f (patch)
treed0713a0cb7427b2e6afbef5a2d997f463aa3d75d /gnu
parent7405e0c83f8f4eee5c4c40e809a40f2e4407a38c (diff)
downloadguix-ccddc7c19fe83206ff7916902349d335bbdc744f.tar.gz
guix-ccddc7c19fe83206ff7916902349d335bbdc744f.zip
gnu: Add ruby-rdiscount.
* gnu/packages/ruby.scm (ruby-rdiscount): New variable.
Diffstat (limited to 'gnu')
-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 ead64b98ea..5b3e8fa4fe 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -74,6 +74,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages node)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
@@ -14302,6 +14303,28 @@ implemented in pure Ruby.")
Resource Description Framework} vocabularies.")
(license license:unlicense)))
+(define-public ruby-rdiscount
+ (package
+ (name "ruby-rdiscount")
+ (version "2.2.7")
+ (source (origin
+ (method git-fetch) ;for the full test suite
+ (uri (git-reference
+ (url "https://github.com/davidfstr/rdiscount")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1lpfxq3gv0dgmnki9jgfnc8n9k4x9vyq9miqdxv6g4kp90qyfifc"))))
+ (build-system ruby-build-system)
+ (native-inputs (list perl))
+ (synopsis "Discount Markdown Processor for Ruby")
+ (description "Discount is an implementation of John Gruber's Markdown
+markup language in C. It implements all of the language described in the
+markdown syntax document and passes the Markdown 1.0 test suite.")
+ (home-page "https://dafoster.net/projects/rdiscount/")
+ (license license:bsd-3)))
+
(define-public ruby-bibtex-ruby
(package
(name "ruby-bibtex-ruby")