spyder: 2.3.8 -> 3.2.4

wip/yesman
Joerg Thalheim 7 years ago
parent d1d4f91754
commit 67092ffd43
  1. 34
      pkgs/applications/science/spyder/default.nix
  2. 4
      pkgs/top-level/python-packages.nix

@ -1,25 +1,27 @@
{ stdenv, fetchurl, unzip, buildPythonApplication, makeDesktopItem
{ stdenv, fetchPypi, unzip, buildPythonApplication, makeDesktopItem
# mandatory
, pyside
# recommended
, pyflakes ? null, rope ? null, sphinx ? null, numpy ? null, scipy ? null, matplotlib ? null
, qtpy, numpydoc, qtconsole, qtawesome, jedi, pycodestyle, psutil
, pyflakes, rope, sphinx, nbconvert, mccabe
# optional
, ipython ? null, pylint ? null, pep8 ? null
, numpy ? null, scipy ? null, matplotlib ? null
# optional
, pylint ? null
}:
buildPythonApplication rec {
name = "spyder-${version}";
version = "2.3.8";
pname = "spyder";
version = "3.2.4";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/s/spyder/${name}.zip";
sha256 = "99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e";
src = fetchPypi {
inherit pname version;
sha256 = "028hg71gfq2yrplwhhl7hl4rbwji1l0zxzghblwmb0i443ki10v3";
};
# NOTE: sphinx makes the build fail with: ValueError: ZIP does not support timestamps before 1980
propagatedBuildInputs =
[ pyside pyflakes rope numpy scipy matplotlib ipython pylint pep8 ];
propagatedBuildInputs = [
jedi pycodestyle psutil qtpy pyflakes rope numpy scipy matplotlib pylint
numpydoc qtconsole qtawesome nbconvert mccabe
];
# There is no test for spyder
doCheck = false;
@ -36,9 +38,9 @@ buildPythonApplication rec {
# Create desktop item
postInstall = ''
mkdir -p $out/share/{applications,icons}
cp $desktopItem/share/applications/* $out/share/applications/
cp spyderlib/images/spyder.svg $out/share/icons/
mkdir -p $out/share/icons
cp spyder/images/spyder.svg $out/share/icons
cp -r $desktopItem/share/applications/ $out/share
'';
meta = with stdenv.lib; {

@ -19028,9 +19028,7 @@ in {
};
});
spyder = callPackage ../applications/science/spyder {
rope = if isPy3k then null else self.rope;
};
spyder = callPackage ../applications/science/spyder { };
sqlalchemy = callPackage ../development/python-modules/sqlalchemy { };

Loading…
Cancel
Save