guix-commits
[Top][All Lists]
Advanced

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

97/229: gnu: Add ruby-faraday-net-http.


From: guix-commits
Subject: 97/229: gnu: Add ruby-faraday-net-http.
Date: Tue, 28 Mar 2023 22:29:07 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 0eac35350cb91621e2b3555cb9d90916892e4bc0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 8 21:21:34 2023 -0500

    gnu: Add ruby-faraday-net-http.
    
    * gnu/packages/ruby.scm (ruby-faraday-net-http): 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 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")



reply via email to

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