summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2022-06-26 13:19:29 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2022-06-26 13:43:31 -0400
commit99d8c41bde311f5ebd5fc77024c42232f19bbfb3 (patch)
treef6bd1e4f4362b891d501560e993ab124119dadd5 /gnu/packages/ruby.scm
parenta105975119e6902cf1df12813fe6e06b254f70fd (diff)
downloadguix-99d8c41bde311f5ebd5fc77024c42232f19bbfb3.tar.gz
gnu: Add ruby-faraday-middleware.
* gnu/packages/ruby.scm (ruby-faraday-middleware): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 15e3c1ca2c..51e99db236 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12712,3 +12712,25 @@ and maintainable web applications in ruby.")
 ripped from Merb.  It supports pluggable parsers and ships with both REXML and
 Nokogiri implementations.")
     (license license:expat)))
+
+(define-public ruby-faraday-middleware
+  (package
+    (name "ruby-faraday-middleware")
+    (version "1.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "faraday_middleware" version))
+        (sha256
+          (base32 "1bw8mfh4yin2xk7138rg3fhb2p5g2dlmdma88k82psah9mbmvlfy"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No rakefile
+     `(#:tests? #f))
+    (propagated-inputs
+     (list ruby-faraday))
+    (home-page "https://github.com/lostisland/faraday_middleware")
+    (synopsis "Various middleware for Faraday")
+    (description "Faraday_Middleware is a collection of middleware for the
+Faraday-based API wrappers.")
+    (license license:expat)))