aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
authorpjotrp2018-01-30 11:13:34 +0000
committerpjotrp2018-01-30 11:13:34 +0000
commitf4e392ce9252e67304b74289fef0568ac1d66ac6 (patch)
tree99497940e063d28fe76cd83adcf29387adc8447c /gn/packages/python.scm
parentb84bf9090c2400eb83fca6ee0ea1b50a2fef4ab9 (diff)
downloadguix-bioinformatics-f4e392ce9252e67304b74289fef0568ac1d66ac6.tar.gz
Gunicorn support with inotify
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm34
1 files changed, 32 insertions, 2 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 9678504..848cf8d 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -112,8 +112,34 @@ functions.")
(license license:expat))
)
+(define-public python-inotify ; guix candidate
+(package
+ (name "python-inotify")
+ (version "0.2.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "inotify" version))
+ (sha256
+ (base32
+ "043sbm9q8ca4fhn19knwpsxgzfgm5ik75m0bl7dp9hjy6p3v3zzn"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("inotify-tools" ,inotify-tools)))
+ (arguments `(#:tests? #f)) ;; No tests.
+ (home-page "https://pypi.python.org/pypi/inotify")
+ (synopsis
+ "Python inotify.")
+ (description
+ "Python inotify.")
+ (license license:gpl2))
+)
+
+(define-public python2-inotify
+ (package-with-python2 python-inotify))
+
+
(define-public gunicorn ; guix candidate
- ; python-plotly, python-requests, python-pytz
(package
(name "gunicorn")
(version "19.7.1")
@@ -125,6 +151,10 @@ functions.")
(base32
"08mnl5l1p47q5wk38d7mafnhsqk50yba0l9kvc2vwrx61jgidqgf"))))
(build-system python-build-system)
+ ; (inputs
+ ; `(("python2-inotify" ,python2-inotify)))
+ (propagated-inputs
+ `(("inotify-tools" ,inotify-tools)))
(arguments `(
#:python ,python-2 ; GN2 is still python2
#:tests? #f)) ;; No tests.
@@ -136,7 +166,7 @@ functions.")
(license license:expat))
)
-(define-public python2-flask-sqlalchemy
+(define-public python2-flask-sqlalchemy
(package-with-python2 python-flask-sqlalchemy))
(define-public python-xlsxwriter ; guix ready