about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/science/spyder/default.nix14
-rw-r--r--pkgs/top-level/all-packages.nix3
2 files changed, 13 insertions, 4 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;
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index d3a7f03e14b9..623f1b2c7173 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8721,7 +8721,8 @@ let
   gravit = callPackage ../applications/science/astronomy/gravit { };
 
   spyder = callPackage ../applications/science/spyder {
-    inherit (pythonPackages) sphinx;
+    inherit (pythonPackages) pyflakes rope sphinx numpy scipy matplotlib; # recommended
+    inherit (pythonPackages) ipython pylint pep8; # optional
   };
 
   stellarium = callPackage ../applications/science/astronomy/stellarium { };