[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: Add ruby-reverse-markdown.
From: |
guix-commits |
Subject: |
05/08: gnu: Add ruby-reverse-markdown. |
Date: |
Fri, 23 Aug 2019 17:39:39 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9e065a8aa2e993e1683962190d0023161f84532c
Author: Brian Leung <address@hidden>
Date: Tue Aug 13 22:28:20 2019 +0200
gnu: Add ruby-reverse-markdown.
* gnu/packages/ruby.scm (ruby-reverse-markdown): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/ruby.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8f6b81a..93a47b7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2019 Pierre Neidhardt <address@hidden>
;;; Copyright © 2019 Mikhail Kirillov <address@hidden>
;;; Copyright © 2019 Jelle Licht <address@hidden>
+;;; Copyright © 2019 Brian Leung <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8807,3 +8808,39 @@ It is intended to determine whether a newer API
specification is
backwards-compatible with an older API specification.")
(home-page "https://github.com/civisanalytics/swagger-diff")
(license license:bsd-3)))
+
+(define-public ruby-reverse-markdown
+ (package
+ (name "ruby-reverse-markdown")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "reverse_markdown" version))
+ (sha256
+ (base32
+ "0w7y5n74daajvl9gixr91nh8670d7mkgspkk3ql71m8azq3nffbg"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-nokogiri" ,ruby-nokogiri)))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec)
+ ("ruby-kramdown" ,ruby-kramdown)
+ ("ruby-simplecov" ,ruby-simplecov)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec"))
+ #t)))))
+ (synopsis "Convert HTML into Markdown")
+ (description
+ "This Ruby module allows you to map simple HTML back into
+Markdown---e.g., if you want to import existing HTML data in your
+application.")
+ (home-page "https://github.com/xijo/reverse_markdown")
+ (license license:wtfpl2)))
+
- branch master updated (8d515ce -> 64fa66b), guix-commits, 2019/08/23
- 02/08: gnu: ruby-mini-portile-2: Update to 2.4.0., guix-commits, 2019/08/23
- 04/08: gnu: ruby-nokogiri: Update to 1.10.4., guix-commits, 2019/08/23
- 01/08: gnu: jube: Fix license., guix-commits, 2019/08/23
- 03/08: gnu: ruby-simplecov: Update to 0.17.0., guix-commits, 2019/08/23
- 07/08: gnu: Add ruby-solargraph., guix-commits, 2019/08/23
- 08/08: gnu: libdazzle: Update to 3.33.90., guix-commits, 2019/08/23
- 06/08: gnu: Add ruby-htmlentities., guix-commits, 2019/08/23
- 05/08: gnu: Add ruby-reverse-markdown.,
guix-commits <=