aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-01-08 21:21:34 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:25 -0400
commit0eac35350cb91621e2b3555cb9d90916892e4bc0 (patch)
tree4fb811c3fb431cf10eb8e5da43bb09e4089f74e2
parent5c35c65bde03da32a6203530b9456c50aa19d02c (diff)
downloadguix-0eac35350cb91621e2b3555cb9d90916892e4bc0.tar.gz
guix-0eac35350cb91621e2b3555cb9d90916892e4bc0.zip
gnu: Add ruby-faraday-net-http.
* gnu/packages/ruby.scm (ruby-faraday-net-http): New variable.
-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 210a456432..ebe88a46cd 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12160,6 +12160,27 @@ Unicode formatted tables.")
logic in Jekyll. It calculates and generates the pagination pages.")
(license license:expat)))
+(define-public ruby-faraday-net-http
+ (package
+ (name "ruby-faraday-net-http")
+ (version "3.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "faraday-net_http" version))
+ (sha256
+ (base32
+ "13byv3mp1gsjyv8k0ih4612y6vw5kqva6i03wcg4w2fqpsd950k8"))))
+ (build-system ruby-build-system)
+ ;; Do not run the test suite here as it would introduce a dependency cycle
+ ;; with ruby-faraday, which uses it as part of its test suite.
+ (arguments (list #:tests? #f))
+ (synopsis "Faraday adapter for Net::HTTP")
+ (description "This gem is a Faraday adapter for the @code{Net::HTTP}
+library. Faraday is an HTTP client library that provides a common interface
+over many adapters.")
+ (home-page "https://github.com/lostisland/faraday-net_http")
+ (license license:expat)))
+
(define-public ruby-faraday
(package
(name "ruby-faraday")