spyder: 2.3.8 -> 3.2.4
This commit is contained in:
parent
d1d4f91754
commit
67092ffd43
@ -1,25 +1,27 @@
|
|||||||
{ stdenv, fetchurl, unzip, buildPythonApplication, makeDesktopItem
|
{ stdenv, fetchPypi, unzip, buildPythonApplication, makeDesktopItem
|
||||||
# mandatory
|
# mandatory
|
||||||
, pyside
|
, qtpy, numpydoc, qtconsole, qtawesome, jedi, pycodestyle, psutil
|
||||||
# recommended
|
, pyflakes, rope, sphinx, nbconvert, mccabe
|
||||||
, pyflakes ? null, rope ? null, sphinx ? null, numpy ? null, scipy ? null, matplotlib ? null
|
|
||||||
# optional
|
# optional
|
||||||
, ipython ? null, pylint ? null, pep8 ? null
|
, numpy ? null, scipy ? null, matplotlib ? null
|
||||||
|
# optional
|
||||||
|
, pylint ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
name = "spyder-${version}";
|
pname = "spyder";
|
||||||
version = "2.3.8";
|
version = "3.2.4";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/s/spyder/${name}.zip";
|
inherit pname version;
|
||||||
sha256 = "99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e";
|
sha256 = "028hg71gfq2yrplwhhl7hl4rbwji1l0zxzghblwmb0i443ki10v3";
|
||||||
};
|
};
|
||||||
|
|
||||||
# NOTE: sphinx makes the build fail with: ValueError: ZIP does not support timestamps before 1980
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs =
|
jedi pycodestyle psutil qtpy pyflakes rope numpy scipy matplotlib pylint
|
||||||
[ pyside pyflakes rope numpy scipy matplotlib ipython pylint pep8 ];
|
numpydoc qtconsole qtawesome nbconvert mccabe
|
||||||
|
];
|
||||||
|
|
||||||
# There is no test for spyder
|
# There is no test for spyder
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
@ -36,9 +38,9 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
# Create desktop item
|
# Create desktop item
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/{applications,icons}
|
mkdir -p $out/share/icons
|
||||||
cp $desktopItem/share/applications/* $out/share/applications/
|
cp spyder/images/spyder.svg $out/share/icons
|
||||||
cp spyderlib/images/spyder.svg $out/share/icons/
|
cp -r $desktopItem/share/applications/ $out/share
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -19028,9 +19028,7 @@ in {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
spyder = callPackage ../applications/science/spyder {
|
spyder = callPackage ../applications/science/spyder { };
|
||||||
rope = if isPy3k then null else self.rope;
|
|
||||||
};
|
|
||||||
|
|
||||||
sqlalchemy = callPackage ../development/python-modules/sqlalchemy { };
|
sqlalchemy = callPackage ../development/python-modules/sqlalchemy { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user