about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-05-05 14:38:31 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-05-06 20:36:17 +0200
commit78169ec02089d3d18afcfff24d66b9c93f8ba0c4 (patch)
treeb7cd80b73e4bda622a6bacd9b6f05a4ddb286a67 /pkgs/applications/science
parent9a0861228649b71377f9b81dde577733aa611194 (diff)
downloadnixlib-78169ec02089d3d18afcfff24d66b9c93f8ba0c4.tar
nixlib-78169ec02089d3d18afcfff24d66b9c93f8ba0c4.tar.gz
nixlib-78169ec02089d3d18afcfff24d66b9c93f8ba0c4.tar.bz2
nixlib-78169ec02089d3d18afcfff24d66b9c93f8ba0c4.tar.lz
nixlib-78169ec02089d3d18afcfff24d66b9c93f8ba0c4.tar.xz
nixlib-78169ec02089d3d18afcfff24d66b9c93f8ba0c4.tar.zst
nixlib-78169ec02089d3d18afcfff24d66b9c93f8ba0c4.zip
spyder: add recommended and optional dependencies
Spyder says about itself that it has

  ...the support of IPython (enhanced interactive Python interpreter) and
  popular Python libraries such as NumPy (linear algebra), SciPy (signal
  and image processing) or matplotlib (interactive 2D/3D plotting).

So I think having those available as default is a the right thing to to.
(We can easily make a stripped down spyder expression if needed later.)

I've added the list of recommended and optional dependencies as
described here:

  http://pythonhosted.org/spyder/installation.html#dependencies
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/spyder/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/science/spyder/default.nix b/pkgs/applications/science/spyder/default.nix
index 772a25ed4a1a..30ef9f0efbc9 100644
--- a/pkgs/applications/science/spyder/default.nix
+++ b/pkgs/applications/science/spyder/default.nix
@@ -1,4 +1,11 @@
-{ stdenv, fetchurl, buildPythonPackage, unzip, sphinx, pyside }:
+{ stdenv, fetchurl, unzip, buildPythonPackage
+# mandatory
+, pyside
+# recommended
+, pyflakes ? null, rope ? null, sphinx ? null, numpy ? null, scipy ? null, matplotlib ? null
+# optional
+, ipython ? null, pylint ? null, pep8 ? null
+}:
 
 buildPythonPackage rec {
   name = "spyder-2.1.13.1";
@@ -9,8 +16,9 @@ buildPythonPackage rec {
     sha256 = "1sg88shvw6k2v5428k13mah4pyqng43856rzr6ypz5qgwn0677ya";
   };
 
-  buildInputs = [ unzip sphinx ];
-  propagatedBuildInputs = [ pyside ];
+  buildInputs = [ unzip ];
+  propagatedBuildInputs =
+    [ pyside pyflakes rope sphinx numpy scipy matplotlib ipython pylint pep8 ];
 
   # There is no test for spyder
   doCheck = false;