unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 30689@debbugs.gnu.org
Subject: [bug#30689] [PATCH 21/39] gnu: Add ruby-loofah.
Date: Mon, 28 Jan 2019 17:36:02 +0000	[thread overview]
Message-ID: <20190128173620.27999-21-mail@cbaines.net> (raw)
In-Reply-To: <20190128173620.27999-1-mail@cbaines.net>

* gnu/packages/ruby.scm (ruby-loofah): New variable.
---
 gnu/packages/ruby.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a2ec683ce9..4d93fef024 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3742,6 +3742,44 @@ you about the changes.")
                (base32
                 "1l0y7hbyfiwpvk172r28hsdqsifq1ls39hsfmzi1vy4ll0smd14i"))))))
 
+(define-public ruby-loofah
+  (package
+    (name "ruby-loofah")
+    (version "2.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "loofah" version))
+       (sha256
+        (base32
+         "1ccsid33xjajd0im2xv941aywi58z7ihwkvaf1w2bv89vn5bhsjg"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-unnecessary-dependencies
+           (lambda _
+             ;; concourse is a development tool which is unused, so remove it
+             ;; so it's not required.
+             (substitute* "Gemfile"
+               ((".*\"concourse\".*") "\n"))
+             (substitute* "Rakefile"
+               (("require 'concourse'") "")
+               (("Concourse\\.new.*") "\n"))
+             #t)))))
+    (native-inputs
+     `(("ruby-hoe" ,ruby-hoe)
+       ("ruby-rr" ,ruby-rr)))
+    (propagated-inputs
+     `(("ruby-nokogiri" ,ruby-nokogiri)
+       ("ruby-crass" ,ruby-crass)))
+    (synopsis "Ruby library for manipulating and transforming HTML/XML")
+    (description
+     "Loofah is a general library for manipulating and transforming HTML/XML
+documents and fragments.  It's built on top of Nokogiri and libxml2.")
+    (home-page "https://github.com/flavorjones/loofah")
+    (license license:expat)))
+
 (define-public ruby-activesupport
   (package
     (name "ruby-activesupport")
-- 
2.20.1

  parent reply	other threads:[~2019-01-28 17:37 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87shan9lcy.fsf@cbaines.net>
2018-03-03 20:55 ` [PATCH] Ruby on Rails (web-application framework) Christopher Baines
2018-03-03 21:02   ` [bug#30689] [PATCH 01/10] gnu: Add ruby-asciimath Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 02/10] gnu: Add ruby-asciidoctor Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 03/10] gnu: Add ruby-rack-test Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 04/10] gnu: Add ruby-rack-protection Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 05/10] gnu: Add ruby-contest Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 06/10] gnu: Add ruby-creole Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 07/10] gnu: Add ruby-sporkmonger-rack-mount Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 08/10] gnu: Add ruby-erubis Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 09/10] gnu: Add ruby-rake Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 10/10] gnu: Add ruby-ruby-engine Christopher Baines
2018-03-03 21:13   ` [bug#30689] [PATCH] Ruby on Rails (web-application framework) Gábor Boskovits
2018-03-05  9:22   ` Ludovic Courtès
2018-03-05 19:20     ` Christopher Baines
2018-03-06 10:26       ` Ludovic Courtès
2018-03-18 18:53   ` [bug#30689] Ruby on Rails Christopher Baines
2018-12-21 20:46   ` swedebugia
2019-01-28 17:28   ` [bug#30689] [PATCH 00/39] Add ruby-rails and depedencies Christopher Baines
2019-01-28 17:35     ` [bug#30689] [PATCH 01/39] gnu: Add ruby-maruku Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 02/39] gnu: ruby-minitest: Update to 5.11.3 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 03/39] gnu: Add ruby-minitest-reporters Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 04/39] gnu: ruby-public-suffix: Enable tests Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 05/39] gnu: Add ruby-idn-ruby Christopher Baines
2019-02-03 23:07         ` Björn Höfling
2019-02-08 20:01           ` Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 06/39] gnu: ruby-addressable: Enable tests and update Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 07/39] gnu: Add ruby_version Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 08/39] gnu: Add ruby-mysql2 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 09/39] gnu: Add ruby-bump Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 10/39] gnu: ruby-activesupport: Update to 5.2.2 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 11/39] gnu: Add ruby-activemodel Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 12/39] gnu: ruby-arel: Update to 9.0.0 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 13/39] gnu: Add ruby-activerecord Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 14/39] gnu: Add ruby-rspec-rerun Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 15/39] gnu: ruby-parallel: Begin to enable tests and update version Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 16/39] gnu: Add ruby-prawn-manual-builder Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 17/39] gnu: ruby-prawn-table: Begin to enable tests Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 18/39] gnu: Add ruby-faraday Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 19/39] gnu: Add ruby-rr Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 20/39] gnu: Add ruby-crass Christopher Baines
2019-01-28 17:36       ` Christopher Baines [this message]
2019-01-28 17:36       ` [bug#30689] [PATCH 22/39] gnu: Add ruby-rails-html-sanitizer Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 23/39] gnu: Add ruby-rails-dom-testing Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 24/39] gnu: Add ruby-erubi Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 25/39] gnu: Add ruby-actionview Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 26/39] gnu: Add ruby-actionpack Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 27/39] gnu: Add ruby-websocket-extensions Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 28/39] gnu: Add ruby-websocket-driver Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 29/39] gnu: Add ruby-nio4r Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 30/39] gnu: Add ruby-actioncable Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 31/39] gnu: Add ruby-globalid Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 32/39] gnu: Add ruby-activejob Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 33/39] gnu: Add ruby-actionmailer Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 34/39] gnu: Add ruby-railties Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 35/39] gnu: Add ruby-sprockets Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 36/39] gnu: Add ruby-sprockets-rails Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 37/39] gnu: Add ruby-marcel Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 38/39] gnu: Add ruby-activestorage Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 39/39] gnu: Add ruby-rails Christopher Baines

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=20190128173620.27999-21-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=30689@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).