spyder: 2.2.5 -> 2.3.6
Set environment variable to use setuptools (fixes build issue). [Bjørn: split enabling spyder for python3 into separate commit.]
This commit is contained in:
parent
de3a53f277
commit
dbc7e0fea5
|
@ -8,12 +8,13 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "spyder-2.2.5";
|
name = "spyder-${version}";
|
||||||
|
version = "2.3.6";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://spyderlib.googlecode.com/files/${name}.zip";
|
url = "https://pypi.python.org/packages/source/s/spyder/${name}.zip";
|
||||||
sha256 = "1bxc5qs2bqc21s6kxljsfxnmwgrgnyjfr9mkwzg9njpqsran3bp2";
|
sha256 = "0e6502e0d3f270ea8916d1a3d7ca29915801d31932db399582bc468c01d535e2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
|
@ -23,6 +24,11 @@ buildPythonPackage rec {
|
||||||
# There is no test for spyder
|
# There is no test for spyder
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
# Use setuptools instead of distutils.
|
||||||
|
preConfigure = ''
|
||||||
|
export USE_SETUPTOOLS=True
|
||||||
|
'';
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "Spyder";
|
name = "Spyder";
|
||||||
exec = "spyder";
|
exec = "spyder";
|
||||||
|
@ -49,7 +55,7 @@ buildPythonPackage rec {
|
||||||
environment for the Python language with advanced editing, interactive
|
environment for the Python language with advanced editing, interactive
|
||||||
testing, debugging and introspection features.
|
testing, debugging and introspection features.
|
||||||
'';
|
'';
|
||||||
homepage = https://code.google.com/p/spyderlib/;
|
homepage = https://github.com/spyder-ide/spyder/;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = [ maintainers.bjornfor ];
|
||||||
|
|
Loading…
Reference in New Issue