guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

33/36: gnu: Add ruby-open-uri-cached.


From: guix-commits
Subject: 33/36: gnu: Add ruby-open-uri-cached.
Date: Fri, 17 Jul 2020 23:24:47 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 7d94616d2ad713cad7fc4878e767f4a9018baf4c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jul 14 22:43:49 2020 -0400

    gnu: Add ruby-open-uri-cached.
    
    * gnu/packages/ruby.scm (ruby-open-uri-cached): New variable.
---
 gnu/packages/ruby.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 21b1aba..49ed262 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]