gnu: Add ruby-rdiscount.

* gnu/packages/ruby.scm (ruby-rdiscount): New variable.
This commit is contained in:
Maxim Cournoyer 2023-01-08 12:31:59 -05:00
parent 7405e0c83f
commit ccddc7c19f
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -74,6 +74,7 @@ (define-module (gnu packages ruby)
#: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 @@ (define-public ruby-rdf-vocab
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")