Skip to content

Commit

Permalink
spyder: use python3
Browse files Browse the repository at this point in the history
Dependency pylint is no longer supported on Python 2.
  • Loading branch information
Robert Schütz authored and FRidh committed Jul 26, 2018
1 parent 48eb8c4 commit daabcc3
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions pkgs/applications/science/spyder/default.nix
@@ -1,18 +1,10 @@
{ stdenv, fetchPypi, buildPythonApplication, makeDesktopItem
# mandatory
, numpydoc, qtconsole, qtawesome, jedi, pycodestyle, psutil
, pyflakes, rope, nbconvert, mccabe, pyopengl, cloudpickle
# optional
, numpy ? null, scipy ? null, matplotlib ? null
# optional
, pylint ? null
}:

buildPythonApplication rec {
{ stdenv, python3, makeDesktopItem }:

python3.pkgs.buildPythonApplication rec {
pname = "spyder";
version = "3.2.8";

src = fetchPypi {
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "0iwcby2bxvayz0kp282yh864br55w6gpd8rqcdj1cp3jbn3q6vg5";
};
Expand All @@ -22,7 +14,7 @@ buildPythonApplication rec {
sed -i -e '/pyqt5/d' setup.py
'';

propagatedBuildInputs = [
propagatedBuildInputs = with python3.pkgs; [
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle
];
Expand Down

0 comments on commit daabcc3

Please sign in to comment.