aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 15:43:48 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:38:00 +0000
commit16f423cbd99ba20434e62d678f85edebcf97cf23 (patch)
treefea36723a5a1b14d86db2e71b05ff746cf40ad33
parentc41fba01d3abfc1ef18dafea76f22aa05147089f (diff)
downloadpatches-16f423cbd99ba20434e62d678f85edebcf97cf23.tar
patches-16f423cbd99ba20434e62d678f85edebcf97cf23.tar.gz
gnu: Add ruby-prawn-manual-builder.
Required for the ruby-prawn-table tests. * gnu/packages/ruby.scm (ruby-prawn-manual-builder): New variable.
-rw-r--r--gnu/packages/ruby.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e491fe473a..aa73fdabd1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3101,6 +3101,40 @@ for select languages.")
(home-page "https://github.com/whitequark/parser")
(license license:expat)))
+(define-public ruby-prawn-manual-builder
+ (package
+ (name "ruby-prawn-manual-builder")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "prawn-manual_builder" version))
+ (sha256
+ (base32
+ "0wbjnkqp55p5wmz85ldypcray223glckd209hmdxhnzk8s5pb3za"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(;; No included tests
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'extract-gemspec 'patch-gemspec
+ (lambda _
+ (substitute* ".gemspec"
+ ;; Loosen the requirement for pdf-inspector
+ (("~> 1\\.0\\.7") ">= 0")))))))
+ (propagated-inputs
+ `(("ruby-coderay" ,ruby-coderay)))
+ (synopsis "Tool for writing manuals for Prawn and Prawn accessories")
+ (description
+ "This package provides a tool for writing manuals for Prawn and Prawn
+accessories")
+ (home-page "https://github.com/prawnpdf/prawn-manual_builder")
+ (license (list
+ ;; GPLv2 or GPLv3 or custom license described in LICENSE file
+ license:gpl2
+ license:gpl3))))
+
(define-public ruby-progress_bar
(package
(name "ruby-progress_bar")