aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-12-17 15:05:32 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-24 15:11:35 +0000
commit7e93bb49f6ac3abc22a8acef4f3b419409e11416 (patch)
tree2f302ad7f31e1bbb55f93993d160bff45a910002
parent03765c5c4d64e527ad79004be40fd094f141b65b (diff)
downloadguix-7e93bb49f6ac3abc22a8acef4f3b419409e11416.tar
guix-7e93bb49f6ac3abc22a8acef4f3b419409e11416.tar.gz
gnu: Add python-cytoolz.
* gnu/packages/python.scm (python-cytoolz): New variable.
-rw-r--r--gnu/packages/python.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 666d8fea9d..33b397e78d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2759,6 +2759,33 @@ writing C extensions for Python as easy as Python itself.")
(inputs
`(("python-2" ,python-2))))) ; this is not automatically changed
+(define-public python-cytoolz
+ (package
+ (name "python-cytoolz")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cytoolz" version))
+ (sha256
+ (base32
+ "0ln566dmwcdfil44klrkvwinvfkj9wyv9dwr0kwawpnyfv8jlsj7"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ;; These should work in a future release
+ ;; https://github.com/pytoolz/cytoolz/issues/97
+ (propagated-inputs
+ `(("python-toolz" ,python-toolz)))
+ (home-page "https://github.com/pytoolz/cytoolz")
+ (synopsis
+ "Cython implementation of Toolz: High performance functional utilities")
+ (description
+ "Cython implementation of Toolz: High performance functional utilities")
+ (license license:bsd-3)))
+
+(define-public python2-cytoolz
+ (package-with-python2 python-cytoolz))
+
;; The RPython toolchain currently does not support Python 3.
(define-public python2-rpython
(package