summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 15:49:34 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:38:00 +0000
commit909eae21f3e90b1001a3fd0f1856e43a128caeaf (patch)
tree94aa0914d24add26e4ddee6472c7f5e017a55958
parent0927b0394f6fcbdf14f2a98c2d27118197c789a8 (diff)
downloadpatches-909eae21f3e90b1001a3fd0f1856e43a128caeaf.tar
patches-909eae21f3e90b1001a3fd0f1856e43a128caeaf.tar.gz
gnu: Add ruby-faraday.
* gnu/packages/ruby.scm (ruby-faraday): New variable.
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index edd3ce536c..d48d93387e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7316,3 +7316,26 @@ Pathname.")
(description "The Pagination Generator forms the core of the pagination
logic in Jekyll. It calculates and generates the pagination pages.")
(license license:expat)))
+
+(define-public ruby-faraday
+ (package
+ (name "ruby-faraday")
+ (version "0.15.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "faraday" version))
+ (sha256
+ (base32
+ "0s72m05jvzc1pd6cw1i289chas399q0a14xrwg4rvkdwy7bgzrh0"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f))
+ (propagated-inputs
+ `(("ruby-multipart-post" ,ruby-multipart-post)))
+ (synopsis "Ruby HTTP/REST API client library")
+ (description
+ "Faraday is a HTTP/REST API client library which provides a common
+interface over different adapters.")
+ (home-page "https://github.com/lostisland/faraday")
+ (license license:expat)))