aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorpjotrp2018-02-15 10:33:13 +0000
committerpjotrp2018-02-15 10:33:13 +0000
commit50dbb901666064a9925e6053090ef59419ad1ce5 (patch)
tree4d9790e17d4f81e6430168da90cc50bb6898aa27 /gn/packages
parent24031f04dd0ae843cb68b7d71eef204daf070c49 (diff)
downloadguix-bioinformatics-50dbb901666064a9925e6053090ef59419ad1ce5.tar.gz
Using elasticsearch latest
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/genenetwork.scm1
-rw-r--r--gn/packages/python.scm32
2 files changed, 33 insertions, 0 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index 934a66c..d9696a3 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -202,6 +202,7 @@ location of a putative QTL.")
("nginx" ,nginx)
("python2-flask" ,python2-flask)
("gunicorn" ,gunicorn)
+ ("python2-elasticsearch" ,python2-elasticsearch)
("python2-htmlgen-gn" ,python2-htmlgen-gn)
("python2-jinja2" ,python2-jinja2)
("python2-sqlalchemy" ,python2-sqlalchemy)
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 011ea30..9601b3c 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -44,6 +44,38 @@
#:use-module (guix build-system trivial)
#:use-module (srfi srfi-1))
+(define-public python-elasticsearch
+ (package
+ (name "python-elasticsearch")
+ (version "6.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "elasticsearch" version))
+ (sha256
+ (base32
+ "1kjxl45yvvgfb5fmamx0kfsfg9pzphiqrwbkns3s28r1w7ya74cd"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-nosexcover" ,python-nosexcover)
+ ("python-pyaml" ,python-pyaml)
+ ("python-requests" ,python-requests)))
+ (propagated-inputs
+ `(("urllib3" ,python-urllib3)))
+ (arguments
+ ;; tests require the test_elasticsearch module but it is not distributed.
+ `(#:tests? #f))
+ (home-page "https://github.com/elastic/elasticsearch-py")
+ (synopsis "Low-level client for Elasticsearch")
+ (description "Official low-level client for Elasticsearch. Its goal is to
+provide common ground for all Elasticsearch-related code in Python; because of
+this it tries to be opinion-free and very extendable.")
+ (license license:expat)))
+
+(define-public python2-elasticsearch
+ (package-with-python2 python-elasticsearch))
+
(define-public python2-rpy2
(package