[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/66: gnu: Add ruby-loofah.
From: |
guix-commits |
Subject: |
48/66: gnu: Add ruby-loofah. |
Date: |
Thu, 14 Feb 2019 16:38:39 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 8d3c5ff68b53ed06c182a17c051abdb6551e8761
Author: Christopher Baines <address@hidden>
Date: Mon Jan 28 15:54:37 2019 +0000
gnu: Add ruby-loofah.
* 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 7a7f413..69e61a7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3778,6 +3778,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")
- 24/66: gnu: Add ruby-parser., (continued)
- 24/66: gnu: Add ruby-parser., guix-commits, 2019/02/14
- 16/66: gnu: Add ruby-racc., guix-commits, 2019/02/14
- 21/66: gnu: Add ruby-bacon-colored-output., guix-commits, 2019/02/14
- 23/66: gnu: Add ruby-cliver., guix-commits, 2019/02/14
- 19/66: gnu: Add ruby-webmock., guix-commits, 2019/02/14
- 29/66: gnu: ruby-minitest: Update to 5.11.3., guix-commits, 2019/02/14
- 26/66: gnu: Add ruby-jaro-winkler., guix-commits, 2019/02/14
- 27/66: gnu: Add ruby-rubocop., guix-commits, 2019/02/14
- 50/66: gnu: Add ruby-rails-dom-testing., guix-commits, 2019/02/14
- 58/66: gnu: Add ruby-globalid., guix-commits, 2019/02/14
- 48/66: gnu: Add ruby-loofah.,
guix-commits <=
- 40/66: gnu: Add ruby-activerecord., guix-commits, 2019/02/14
- 49/66: gnu: Add ruby-rails-html-sanitizer., guix-commits, 2019/02/14
- 36/66: gnu: Add ruby-bump., guix-commits, 2019/02/14
- 65/66: gnu: Add ruby-activestorage., guix-commits, 2019/02/14
- 54/66: gnu: Add ruby-websocket-extensions., guix-commits, 2019/02/14
- 47/66: gnu: Add ruby-crass., guix-commits, 2019/02/14
- 64/66: gnu: Add ruby-marcel., guix-commits, 2019/02/14
- 34/66: gnu: Add ruby_version., guix-commits, 2019/02/14
- 41/66: gnu: Add ruby-rspec-rerun., guix-commits, 2019/02/14
- 43/66: gnu: Add ruby-prawn-manual-builder., guix-commits, 2019/02/14