aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/ruby.scm
diff options
context:
space:
mode:
authorpjotrp2018-06-26 12:27:06 +0000
committerpjotrp2018-06-26 12:27:06 +0000
commitf35ce51d44d668efb5b6258f543741ae161aff04 (patch)
treec805496cde66a21631da60fbb4582cf716038300 /gn/packages/ruby.scm
parent86fb35d3076401f899a5f3ae99403ecb25e3c260 (diff)
downloadguix-bioinformatics-f35ce51d44d668efb5b6258f543741ae161aff04.tar.gz
Ruby ES support
Diffstat (limited to 'gn/packages/ruby.scm')
-rw-r--r--gn/packages/ruby.scm104
1 files changed, 104 insertions, 0 deletions
diff --git a/gn/packages/ruby.scm b/gn/packages/ruby.scm
index 091d0a9..3838d55 100644
--- a/gn/packages/ruby.scm
+++ b/gn/packages/ruby.scm
@@ -340,3 +340,107 @@ a history.")
(home-page
"http://github.com/pjotrp/bioruby-vcf")
(license license:expat)))
+
+(define-public ruby-faraday
+(package
+ (name "ruby-faraday")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "faraday" version))
+ (sha256
+ (base32
+ "1c3x3s8vb5nf7inyfvhdxwa4q3swmnacpxby6pish5fgmhws7zrr"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-multipart-post" ,ruby-multipart-post)))
+ (arguments
+ `(#:tests? #f)) ;; no bundler/cucumber
+ (synopsis "HTTP/REST API client library.")
+ (description "HTTP/REST API client library.")
+ (home-page
+ "https://github.com/lostisland/faraday")
+ (license license:expat)))
+
+(define-public ruby-elasticsearch-transport
+(package
+ (name "ruby-elasticsearch-transport")
+ (version "6.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "elasticsearch-transport" version))
+ (sha256
+ (base32
+ "0gpwbw70qisx681j1bw8xq6shg5kdxmcdzg6425af0b5881jg7iy"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-faraday" ,ruby-faraday)
+ ("ruby-multi-json" ,ruby-multi-json)))
+ (arguments
+ `(#:tests? #f)) ;; no bundler/cucumber
+ (synopsis
+ "Ruby client for Elasticsearch. See the `elasticsearch` gem for full integration.
+")
+ (description
+ "Ruby client for Elasticsearch. See the `elasticsearch` gem for full integration.
+")
+ (home-page
+ "https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport")
+ (license #f)))
+
+(define-public ruby-elasticsearch-api
+(package
+ (name "ruby-elasticsearch-api")
+ (version "6.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "elasticsearch-api" version))
+ (sha256
+ (base32
+ "1vkahknqn85vvwr1gzh8jf3pvdial0c0d524icg8x06vibqgzd5h"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-multi-json" ,ruby-multi-json)))
+ (arguments
+ `(#:tests? #f)) ;; no bundler/cucumber
+ (synopsis
+ "Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
+")
+ (description
+ "Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
+")
+ (home-page
+ "https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-api")
+ (license #f)))
+
+(define-public ruby-elasticsearch
+ (package
+ (name "ruby-elasticsearch")
+ (version "6.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "elasticsearch" version))
+ (sha256
+ (base32
+ "0a08ynvxz5clfm2ndqpgjrv4aiga9m2y1ab34s3qkihdfdzdzhj8"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-elasticsearch-api"
+ ,ruby-elasticsearch-api)
+ ("ruby-elasticsearch-transport"
+ ,ruby-elasticsearch-transport)))
+ (arguments
+ `(#:tests? #f)) ;; no bundler/cucumber
+ (synopsis
+ "Ruby integrations for Elasticsearch (client, API, etc.)
+")
+ (description
+ "Ruby integrations for Elasticsearch (client, API, etc.)
+")
+ (home-page
+ "http://github.com/elasticsearch/elasticsearch-ruby")
+ (license #f)))