cbaines pushed a commit to branch master
in repository guix.
commit 45270b1862aaf2e4ae5f9fec00fb4a6dede04196
Author: Giacomo Leidi <[email protected]>
AuthorDate: Mon Jan 4 01:32:12 2021 +0100
gnu: Add ruby-ethon.
* gnu/packages/ruby.scm (ruby-ethon): New variable.
Signed-off-by: Christopher Baines <[email protected]>
---
gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0e7f6d9..2a5d4f0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2348,6 +2348,30 @@ support.")
(home-page "http://www.kuwata-lab.com/erubis/")
(license license:expat)))
+(define-public ruby-ethon
+ (package
+ (name "ruby-ethon")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "ethon" version))
+ (sha256
+ (base32
+ "0gggrgkcq839mamx7a8jbnp2h7x2ykfn34ixwskwb0lzx2ak17g9"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:tests? #f)) ; no included tests
+ (inputs
+ `(("curl" ,curl)))
+ (propagated-inputs
+ `(("ruby-ffi" ,ruby-ffi)))
+ (synopsis "Very lightweight @code{libcurl} wrapper")
+ (description
+ "Ethon is a very basic @code{libcurl} wrapper using ffi.")
+ (home-page "https://github.com/typhoeus/ethon")
+ (license license:expat)))
+
(define-public ruby-execjs
(package
(name "ruby-execjs")