[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: Add ruby-asciidoctor.
From: |
Ben Woodcroft |
Subject: |
05/13: gnu: Add ruby-asciidoctor. |
Date: |
Wed, 10 Aug 2016 11:57:35 +0000 (UTC) |
benwoodcroft pushed a commit to branch wip-rails
in repository guix.
commit 2578f889e7b84ed31e6460dee1f8377a4c8a6caa
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 | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 062e35a..823e7a9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -594,6 +594,41 @@ easy-to-write markup language for mathematics.")
(home-page "https://github.com/pepijnve/asciimath")
(license license:expat)))
+(define-public ruby-asciidoctor
+ (package
+ (name "ruby-asciidoctor")
+ (version "1.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "asciidoctor" version))
+ (sha256
+ (base32
+ "0q9yhan2mkk1lh15zcfd9g2fn6faix9yrf5skg23dp1y77jv7vm0"))))
+ (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")
- 03/13: gnu: ruby-concurrent: Adjust for 'replace-git-ls-files'., (continued)
- 03/13: gnu: ruby-concurrent: Adjust for 'replace-git-ls-files'., Ben Woodcroft, 2016/08/10
- 01/13: guix: ruby-build-system: Build compiled gems reproducibly., Ben Woodcroft, 2016/08/10
- 04/13: gnu: Add ruby-asciimath., Ben Woodcroft, 2016/08/10
- 02/13: guix: ruby-build-system: Add replace-git-ls-files., Ben Woodcroft, 2016/08/10
- 09/13: gnu: Add ruby-creole., Ben Woodcroft, 2016/08/10
- 11/13: gnu: Add ruby-erubis., Ben Woodcroft, 2016/08/10
- 07/13: gnu: Add ruby-rack-protection., Ben Woodcroft, 2016/08/10
- 12/13: gnu: Add ruby-ruby-engine., Ben Woodcroft, 2016/08/10
- 06/13: gnu: Add ruby-rack-test., Ben Woodcroft, 2016/08/10
- 10/13: gnu: Add ruby-sporkmonger-rack-mount., Ben Woodcroft, 2016/08/10
- 05/13: gnu: Add ruby-asciidoctor.,
Ben Woodcroft <=
- 08/13: gnu: Add ruby-contest., Ben Woodcroft, 2016/08/10
- 13/13: gnu: Add ruby-rails, ruby-sinatra and associated packages., Ben Woodcroft, 2016/08/10