[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: Add ruby-asciidoctor.
From: |
Christopher Baines |
Subject: |
02/10: gnu: Add ruby-asciidoctor. |
Date: |
Sun, 18 Mar 2018 06:24:04 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 34138e42ba69fa77eb6d9221a7441fa52c4d9259
Author: Ben Woodcroft <address@hidden>
Date: Thu Dec 31 23:08:21 2015 +1000
gnu: Add ruby-asciidoctor.
* gnu/packages/ruby.scm (ruby-asciidoctor): New variable.
---
gnu/packages/ruby.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ee5d209..dc2ef25 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -36,6 +36,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages java)
#:use-module (gnu packages libffi)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages networking)
#:use-module (gnu packages python)
#:use-module (gnu packages ragel)
@@ -665,6 +666,41 @@ line of code.")
;; of the Expat license.
(license license:bsd-3)))
+(define-public ruby-asciidoctor
+ (package
+ (name "ruby-asciidoctor")
+ (version "1.5.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "asciidoctor" version))
+ (sha256
+ (base32
+ "1jnf9y8q5asfdzilp8vcqafrc2faj719df4yh1993mh6jd0iqdy4"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:test-target "test:all"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'remove-circular-tests
+ (lambda _
+ ;; Remove tests that require circular dependencies to load or pass.
+ (delete-file "test/invoker_test.rb")
+ (delete-file "test/converter_test.rb")
+ (delete-file "test/options_test.rb")
+ #t)))))
+ (native-inputs
+ `(("ruby-minitest" ,ruby-minitest)
+ ("ruby-nokogiri" ,ruby-nokogiri)
+ ("ruby-asciimath" ,ruby-asciimath)
+ ("ruby-coderay" ,ruby-coderay)))
+ (synopsis "Converter from AsciiDoc content to other formats")
+ (description
+ "Asciidoctor is a text processor and publishing toolchain for converting
+AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other formats.")
+ (home-page "http://asciidoctor.org")
+ (license license:expat)))
+
(define-public ruby-ci-reporter
(package
(name "ruby-ci-reporter")
- branch master updated (cc4c8a5 -> e218b0c), Christopher Baines, 2018/03/18
- 05/10: gnu: Add ruby-contest., Christopher Baines, 2018/03/18
- 09/10: gnu: Add ruby-rake., Christopher Baines, 2018/03/18
- 02/10: gnu: Add ruby-asciidoctor.,
Christopher Baines <=
- 03/10: gnu: Add ruby-rack-test., Christopher Baines, 2018/03/18
- 04/10: gnu: Add ruby-rack-protection., Christopher Baines, 2018/03/18
- 01/10: gnu: Add ruby-asciimath., Christopher Baines, 2018/03/18
- 06/10: gnu: Add ruby-creole., Christopher Baines, 2018/03/18
- 08/10: gnu: Add ruby-erubis., Christopher Baines, 2018/03/18
- 07/10: gnu: Add ruby-sporkmonger-rack-mount., Christopher Baines, 2018/03/18
- 10/10: gnu: Add ruby-ruby-engine., Christopher Baines, 2018/03/18