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 {
|
||||
name = "spyder-2.2.5";
|
||||
name = "spyder-${version}";
|
||||
version = "2.3.6";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://spyderlib.googlecode.com/files/${name}.zip";
|
||||
sha256 = "1bxc5qs2bqc21s6kxljsfxnmwgrgnyjfr9mkwzg9njpqsran3bp2";
|
||||
url = "https://pypi.python.org/packages/source/s/spyder/${name}.zip";
|
||||
sha256 = "0e6502e0d3f270ea8916d1a3d7ca29915801d31932db399582bc468c01d535e2";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
@ -23,6 +24,11 @@ buildPythonPackage rec {
|
||||
# There is no test for spyder
|
||||
doCheck = false;
|
||||
|
||||
# Use setuptools instead of distutils.
|
||||
preConfigure = ''
|
||||
export USE_SETUPTOOLS=True
|
||||
'';
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "Spyder";
|
||||
exec = "spyder";
|
||||
@ -49,7 +55,7 @@ buildPythonPackage rec {
|
||||
environment for the Python language with advanced editing, interactive
|
||||
testing, debugging and introspection features.
|
||||
'';
|
||||
homepage = https://code.google.com/p/spyderlib/;
|
||||
homepage = https://github.com/spyder-ide/spyder/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
|
Loading…
Reference in New Issue
Block a user