guix-patches
[Top][All Lists]
Advanced

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

[bug#45641] [PATCH 4/6] gnu: Add ruby-typhoeus.


From: Giacomo Leidi
Subject: [bug#45641] [PATCH 4/6] gnu: Add ruby-typhoeus.
Date: Mon, 4 Jan 2021 01:32:13 +0100

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 06d4637df4..4999b95c04 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11835,3 +11835,27 @@ is a gigantic eagle.  So much for the history.  In the 
modern world, Ethon
 is a very basic @code{libcurl} wrapper using ffi.")
     (home-page "https://github.com/typhoeus/ethon";)
     (license license:expat)))
+
+(define-public ruby-typhoeus
+  (package
+    (name "ruby-typhoeus")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "typhoeus" version))
+       (sha256
+        (base32
+         "1m22yrkmbj81rzhlny81j427qdvz57yk5wbcf3km0nf3bl6qiygz"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))                    ;there are none
+    (propagated-inputs `(("ruby-ethon" ,ruby-ethon)))
+    (synopsis
+     "Typhoeus wraps @code{libcurl} in order to make fast and reliable 
requests ")
+    (description
+     "Like a modern code version of the mythical beast with 100 serpent heads, 
Typhoeus
+runs HTTP requests in parallel while cleanly encapsulating handling logic.")
+    (home-page
+     "https://github.com/typhoeus/typhoeus";)
+    (license license:expat)))
-- 
2.29.2






reply via email to

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