aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-14 22:43:49 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-17 23:01:34 -0400
commit7d94616d2ad713cad7fc4878e767f4a9018baf4c (patch)
tree8584d5a63dc4a66f132f1bdf414df5887470a054 /gnu/packages
parentf421785bd7bf44da6080b1d5df9311a5486c49a7 (diff)
downloadguix-7d94616d2ad713cad7fc4878e767f4a9018baf4c.tar.gz
guix-7d94616d2ad713cad7fc4878e767f4a9018baf4c.zip
gnu: Add ruby-open-uri-cached.
* gnu/packages/ruby.scm (ruby-open-uri-cached): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 21b1abade4..49ed262187 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1670,6 +1670,27 @@ system by Donald E. Knuth.")
;; versions of the LaTeX Project Public License.
(license license:expat)))
+(define-public ruby-open-uri-cached
+ (package
+ (name "ruby-open-uri-cached")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "open-uri-cached" version))
+ (sha256
+ (base32
+ "13xy2vhrgz9mdxhklw5fszhamsdxh8ysf3l40g92hqm4hm288wap"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:tests? #f)) ;no test suite
+ (synopsis "OpenURI with transparent disk caching")
+ (description "OpenURI with transparent disk caching, which is
+useful to avoid making excessive queries, for example when scraping
+web pages.")
+ (home-page "https://github.com/tigris/open-uri-cached")
+ (license license:expat)))
+
(define-public ruby-ast
(package
(name "ruby-ast")