unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: 32535@debbugs.gnu.org
Subject: [bug#32535] [PATCH 26/41] gnu: Add ruby-prawn.
Date: Sun, 26 Aug 2018 18:41:48 +0200	[thread overview]
Message-ID: <20180826164203.27318-26-julien@lepiller.eu> (raw)
In-Reply-To: <20180826164203.27318-1-julien@lepiller.eu>

* gnu/packages/ruby.scm (ruby-prawn): 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 e1aeb532e..2c89ff190 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5568,3 +5568,38 @@ documentation that can be exported to a number of formats very easily, and
 also supports extending for custom Ruby constructs such as custom class level
 definitions.")
     (license license:expat)))
+
+(define-public ruby-prawn
+  (package
+    (name "ruby-prawn")
+    (version "2.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "prawn" version))
+              (sha256
+               (base32
+                "1qdjf1v6sfl44g3rqxlg8k4jrzkwaxgvh2l4xws97a8f3xv4na4m"))))
+    (build-system ruby-build-system)
+    (arguments
+     ; No tests
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'fix-dependencies
+           (lambda _
+             (substitute* "prawn.gemspec"
+               (("~> 0.7.0") "~> 0.7"))
+             #t)))))
+    (propagated-inputs
+     `(("ruby-pdf-core" ,ruby-pdf-core)
+       ("ruby-ttfunk" ,ruby-ttfunk)))
+    (native-inputs
+     `(("bundler" ,bundler)
+       ("ruby-pdf-inspector" ,ruby-pdf-inspector)
+       ("ruby-rspec" ,ruby-rspec)
+       ("ruby-simplecov" ,ruby-simplecov)
+       ("ruby-yard" ,ruby-yard)))
+    (home-page "http://prawnpdf.org/")
+    (synopsis "PDF generation for Ruby")
+    (description "Prawn is a pure Ruby PDF generation library.")
+    (license license:gpl3+)))
-- 
2.18.0

  parent reply	other threads:[~2018-08-26 16:43 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-26 16:33 [bug#32535] [PATCH] Add jekyll Julien Lepiller
2018-08-26 16:41 ` [bug#32535] [PATCH 01/41] gnu: Add ruby-concurrent Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 02/41] gnu: ruby-i18n: Update to 1.1.0 Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 03/41] gnu: ruby-activesupport: Update to 5.2.1 Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 04/41] gnu: ruby-ttfunk: Update to 1.5.1 Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 05/41] gnu: Add ruby-public-suffix Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 06/41] gnu: Add ruby-addressable Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 07/41] gnu: Add ruby-colorator Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 08/41] gnu: Add ruby-command-line-reporter Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 09/41] gnu: Add ruby-command-line-reporter-3 Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 10/41] gnu: Add ruby-rdoc Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 11/41] gnu: Add ruby-sass-listen Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 12/41] gnu: Add ruby-terminfo Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 13/41] gnu: Add ruby-diffy Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 14/41] gnu: Add ruby-sass-spec Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 15/41] gnu: Add ruby-sass Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 16/41] gnu: Add ruby-jekyll-sass-converter Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 17/41] gnu: Add ruby-listen-3.0 Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 18/41] gnu: Add ruby-jekyll-watch Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 19/41] gnu: Add ruby-parallel Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 20/41] gnu: Add ruby-cane Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 21/41] gnu: Add ruby-morecane Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 22/41] gnu: Add ruby-pdf-reader Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 23/41] gnu: Add ruby-pdf-inspector Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 24/41] gnu: Add ruby-pdf-core Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 25/41] gnu: Add ruby-yard Julien Lepiller
2018-08-26 16:41   ` Julien Lepiller [this message]
2018-08-26 16:41   ` [bug#32535] [PATCH 27/41] gnu: Add ruby-prawn-table Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 28/41] gnu: Add ruby-kramdown Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 29/41] gnu: Add ruby-http-parser.rb Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 30/41] gnu: Add ruby-em-websocket Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 31/41] gnu: Add ruby-rouge Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 32/41] gnu: Add ruby-rouge-2 Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 33/41] gnu: Add ruby-hashie Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 34/41] gnu: Add ruby-heredoc-unindent Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 35/41] gnu: Add ruby-safe-yaml Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 36/41] gnu: Add ruby-mercenary Julien Lepiller
2018-08-26 16:41   ` [bug#32535] [PATCH 37/41] gnu: Add ruby-liquid Julien Lepiller
2018-08-26 16:42   ` [bug#32535] [PATCH 38/41] gnu: Add ruby-forwardable-extended Julien Lepiller
2018-08-26 16:42   ` [bug#32535] [PATCH 39/41] gnu: Add ruby-pathutil Julien Lepiller
2018-08-26 16:42   ` [bug#32535] [PATCH 40/41] gnu: Add jekyll Julien Lepiller
2018-08-26 16:42   ` [bug#32535] [PATCH 41/41] gnu: Add ruby-jekyll-paginate-v2 Julien Lepiller
2018-08-28 12:09 ` [bug#32535] [PATCH] Add jekyll Ludovic Courtès
2018-09-01 21:12 ` bug#32535: " Julien Lepiller
2018-09-03 21:16   ` [bug#32535] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180826164203.27318-26-julien@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=32535@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).