[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/36: gnu: Add ruby-prawn-templates.
From: |
guix-commits |
Subject: |
11/36: gnu: Add ruby-prawn-templates. |
Date: |
Fri, 17 Jul 2020 23:24:40 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit ce52f2b11cb1033e74efe9bb2178fa6667dffff3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jul 13 11:22:10 2020 -0400
gnu: Add ruby-prawn-templates.
* gnu/packages/ruby.scm (ruby-prawn-templates): New variable.
---
gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0a2b6f4..9a5b488 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1248,6 +1248,48 @@ Prawn module.")
(home-page "https://github.com/mogest/prawn-svg")
(license license:expat)))
+(define-public ruby-prawn-templates
+ (package
+ (name "ruby-prawn-templates")
+ (version "0.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/prawnpdf/prawn-templates.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wll54wxxwixpwazfn4ffbqvqbfrl01cfsv8y11vnlzy7isx5xvl"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'do-not-use-bundler
+ (lambda _
+ (substitute* "spec/spec_helper.rb"
+ ((".*[Bb]undler.*") ""))
+ #t))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec"))
+ #t)))))
+ (native-inputs
+ `(("ruby-pdf-inspector" ,ruby-pdf-inspector)
+ ("ruby-rspec" ,ruby-rspec)))
+ (propagated-inputs
+ `(("ruby-pdf-reader" ,ruby-pdf-reader)
+ ("ruby-prawn" ,ruby-prawn)))
+ (synopsis "Prawn extension to include or combine PDF documents")
+ (description "This @strong{unmaintained} package provides a Prawn
+extension that allows including other Portable Document Format (PDF) documents
+as background or combining several PDF documents into one. This functionality
+used to be part of Prawn itself, but was extracted from Prawn 0.15.0 because
+of its many longstanding issues.")
+ (home-page "https://github.com/prawnpdf/prawn-templates")
+ (license %prawn-project-licenses)))
+
(define-public ruby-ast
(package
(name "ruby-ast")
- branch master updated (a2e6553 -> 479c032), guix-commits, 2020/07/17
- 01/36: gnu: ruby-prawn: Add a %prawn-project-licenses variable., guix-commits, 2020/07/17
- 04/36: gnu: ruby-pdf-reader: Actually run tests., guix-commits, 2020/07/17
- 02/36: gnu: ruby-pdf-inspector: Enable tests., guix-commits, 2020/07/17
- 03/36: gnu: ruby-pdf-reader: Update to 2.4.0., guix-commits, 2020/07/17
- 05/36: gnu: ruby-ttfunk: Update to 1.6.2.1., guix-commits, 2020/07/17
- 06/36: gnu: ruby-prawn: Update to commit d980247be8a00e7c59cd4e5785e3aa98f9856db1., guix-commits, 2020/07/17
- 07/36: gnu: ruby-prawn-manual-builder: Use %prawn-project-licenses., guix-commits, 2020/07/17
- 08/36: gnu: Add ruby-prawn-icon., guix-commits, 2020/07/17
- 09/36: gnu: Add ruby-css-parser., guix-commits, 2020/07/17
- 11/36: gnu: Add ruby-prawn-templates.,
guix-commits <=
- 14/36: gnu: Add ruby-sorcerer., guix-commits, 2020/07/17
- 15/36: gnu: Add ruby-given-core., guix-commits, 2020/07/17
- 16/36: gnu: Add ruby-rspec-given., guix-commits, 2020/07/17
- 18/36: gnu: ruby-parser: Update to 2.7.1.4., guix-commits, 2020/07/17
- 10/36: gnu: Add ruby-prawn-svg., guix-commits, 2020/07/17
- 13/36: gnu: Add ruby-treetop., guix-commits, 2020/07/17
- 17/36: gnu: ruby-coveralls: Strip exact versions from gemspec file., guix-commits, 2020/07/17
- 20/36: gnu: Add ruby-rubocop-ast., guix-commits, 2020/07/17
- 22/36: gnu: Add ruby-character-set., guix-commits, 2020/07/17
- 23/36: gnu: Add ruby-range-compressor., guix-commits, 2020/07/17