summary refs log tree commit diff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2015-12-03 08:52:46 +0100
committerFederico Beffa <beffa@fbengineering.ch>2015-12-03 09:22:30 +0100
commit3cbe7d5e52714410cf8b8ca58bfd37ff5ba525b8 (patch)
tree682c2f22edfa975aa418218051b1276ec898155d /gnu/packages/python.scm
parent5587253a8786beca5b270ac72cc68802b72b7539 (diff)
downloadguix-3cbe7d5e52714410cf8b8ca58bfd37ff5ba525b8.tar.gz
gnu: python2-pandas: Use custom 'python2-numpy'.
* gnu/packages/python.scm (python2-pandas): Do it.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 71853dc721..655d97db18 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1016,7 +1016,12 @@ doing practical, real world data analysis in Python.")
     (license bsd-3)))
 
 (define-public python2-pandas
-  (package-with-python2 python-pandas))
+  (let ((pandas (package-with-python2 python-pandas)))
+    (package (inherit pandas)
+             (propagated-inputs
+              `(("python2-numpy" ,python2-numpy)
+                ,@(alist-delete "python-numpy"
+                                (package-propagated-inputs pandas)))))))
 
 (define-public python-tzlocal
   (package