aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorBonfaceKilz2020-05-29 00:43:42 +0300
committerBonfaceKilz2020-05-29 00:43:42 +0300
commitc2cbcf1d42e547fa90b4ca3555a696b73d99ef9d (patch)
tree59a0bf01d18cdb9a717f4e9c539199b0ec2500dc /gn
parentdeb51864fc0d46de948b666233d4d2f8791ead55 (diff)
parent55e40dfe7881a02de92ffa1a2adf3e5fa24faa00 (diff)
downloadguix-bioinformatics-c2cbcf1d42e547fa90b4ca3555a696b73d99ef9d.tar.gz
Merge branch 'master' of http://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/genenetwork.scm47
1 files changed, 46 insertions, 1 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index fad46ea..897cd33 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -42,6 +42,8 @@
#:use-module (gn packages python24)
#:use-module (gn packages statistics))
+
+
(define-public my-deploy
(package
(name "my-deploy")
@@ -188,6 +190,49 @@ bootstrap resampling to estimate the confidence region for the
location of a putative QTL.")
(license license:gpl2+))))
+;; Reintroduced python2-gunicorn because we are running GN with python2
+;; right now. Please keep it until we migrate to Python3 fully!
+
+(define-public python-gunicorn-gn
+ (package
+ (name "python-gunicorn-gn")
+ (version "19.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "gunicorn" version))
+ (sha256
+ (base32
+ "1wzlf4xmn6qjirh5w81l6i6kqjnab1n1qqkh7zsj1yb6gh4n49ps"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-mock" ,python-mock)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'loosen-verion-restrictions
+ (lambda _
+ (substitute* "requirements_test.txt"
+ (("coverage.*") "coverage\n")
+ (("pytest.*") "pytest\n")
+ (("pytest-cov.*") "pytest-cov\n"))
+ #t)))))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (home-page "https://gunicorn.org")
+ (synopsis "WSGI HTTP Server for UNIX")
+ (description "Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for
+UNIX. It's a pre-fork worker model ported from Ruby's Unicorn project. The
+Gunicorn server is broadly compatible with various web frameworks, simply
+implemented, light on server resource usage, and fairly speedy.")
+ (license license:expat)))
+
+
+(define-public python2-gunicorn-gn
+ (package-with-python2 python-gunicorn-gn))
+
(define-public rust-qtlreaper
(let ((commit "2e7fed6d45b0b602d80fa2a55835f96ef1cba9e3")
@@ -271,7 +316,7 @@ location of a putative QTL.")
("rust-qtlreaper" ,rust-qtlreaper)
("nginx" ,nginx)
("python2-flask" ,python2-flask)
- ("gunicorn" ,gunicorn)
+ ("python2-gunicorn-gn" ,python2-gunicorn-gn)
; ("python2-pillow" ,python2-pillow) - for later!
("python2-pil1" ,python2-pil1-gn)
("python2-piddle-gn" ,python2-piddle-gn)