[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: Add ruby-htmlentities.
From: |
guix-commits |
Subject: |
06/08: gnu: Add ruby-htmlentities. |
Date: |
Fri, 23 Aug 2019 17:39:40 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7bddb6aa53d396bc5540a08f2d7d91394d12645a
Author: Brian Leung <address@hidden>
Date: Tue Aug 13 06:44:20 2019 +0200
gnu: Add ruby-htmlentities.
* gnu/packages/ruby.scm (ruby-htmlentities): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 93a47b7..63b3fac 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8572,6 +8572,33 @@ characteristics.")
(home-page "https://github.com/sinatra/mustermann")
(license license:expat)))
+(define-public ruby-htmlentities
+ (package
+ (name "ruby-htmlentities")
+ (version "4.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "htmlentities" version))
+ (sha256
+ (base32
+ "1nkklqsn8ir8wizzlakncfv42i32wc0w9hxp00hvdlgjr7376nhj"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (map (lambda (file)
+ (invoke "ruby" "-Itest" file))
+ (find-files "./test" ".*_test\\.rb")))))))
+ (synopsis "Encode and decode (X)HTML entities")
+ (description
+ "This package provides a module for encoding and decoding (X)HTML
+entities.")
+ (home-page "https://github.com/threedaymonk/htmlentities")
+ (license license:expat)))
+
(define-public ruby-sinatra
(package
(name "ruby-sinatra")
- branch master updated (8d515ce -> 64fa66b), guix-commits, 2019/08/23
- 02/08: gnu: ruby-mini-portile-2: Update to 2.4.0., guix-commits, 2019/08/23
- 04/08: gnu: ruby-nokogiri: Update to 1.10.4., guix-commits, 2019/08/23
- 01/08: gnu: jube: Fix license., guix-commits, 2019/08/23
- 03/08: gnu: ruby-simplecov: Update to 0.17.0., guix-commits, 2019/08/23
- 07/08: gnu: Add ruby-solargraph., guix-commits, 2019/08/23
- 08/08: gnu: libdazzle: Update to 3.33.90., guix-commits, 2019/08/23
- 06/08: gnu: Add ruby-htmlentities.,
guix-commits <=
- 05/08: gnu: Add ruby-reverse-markdown., guix-commits, 2019/08/23