aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2015-11-24 22:33:31 +0200
committerEfraim Flashner <efraim@flashner.co.il>2016-01-17 22:37:04 +0200
commit7a5b944eb5bc9df149cca4eb018e58e106084fbb (patch)
tree1276ce93438580eee16e10bd50e3516aa0f47371
parentc9e330d001a0018fbbc26e0bb01848eb3c924d81 (diff)
downloadguix-7a5b944eb5bc9df149cca4eb018e58e106084fbb.tar
guix-7a5b944eb5bc9df149cca4eb018e58e106084fbb.tar.gz
gnu: Add python-futures.
* gnu/packages/python.scm (python-futures, python2-futures): New variables.
-rw-r--r--gnu/packages/python.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cda995c440..8e0019eb43 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7084,3 +7084,29 @@ Python at your fingertips, in Lisp form.")
(define-public python2-hy
(package-with-python2 python-hy))
+
+(define-public python-futures
+ (package
+ (name "python-futures")
+ (version "3.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "futures" version))
+ (sha256
+ (base32
+ "1vcb34dqhzkhbq1957vdjszhhm5y3j9ba88dgwhqx2zynhmk9qig"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/agronholm/pythonfutures")
+ (synopsis
+ "Backport of the concurrent.futures package from Python 3.2")
+ (description
+ "The concurrent.futures module provides a high-level interface for
+asynchronously executing callables. This package backports the
+concurrent.futures package from Python 3.2")
+ (license bsd-3)))
+
+(define-public python2-futures
+ (package-with-python2 python-futures))