summary refs log tree commit diff
path: root/pkgs/applications/science/spyder/default.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2015-08-08 22:02:12 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2015-08-29 17:41:35 +0200
commitdbc7e0fea55f4597f8c12221e13bd6bb993aed5b (patch)
tree2fc3d316407ae9df12a6b0c05dad898d376bc7e6 /pkgs/applications/science/spyder/default.nix
parentde3a53f2770783e461d63236c6d193a296079f63 (diff)
downloadnixlib-dbc7e0fea55f4597f8c12221e13bd6bb993aed5b.tar
nixlib-dbc7e0fea55f4597f8c12221e13bd6bb993aed5b.tar.gz
nixlib-dbc7e0fea55f4597f8c12221e13bd6bb993aed5b.tar.bz2
nixlib-dbc7e0fea55f4597f8c12221e13bd6bb993aed5b.tar.lz
nixlib-dbc7e0fea55f4597f8c12221e13bd6bb993aed5b.tar.xz
nixlib-dbc7e0fea55f4597f8c12221e13bd6bb993aed5b.tar.zst
nixlib-dbc7e0fea55f4597f8c12221e13bd6bb993aed5b.zip
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.]
Diffstat (limited to 'pkgs/applications/science/spyder/default.nix')
-rw-r--r--pkgs/applications/science/spyder/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/science/spyder/default.nix b/pkgs/applications/science/spyder/default.nix
index 806d2f546cf5..c068847c331b 100644
--- a/pkgs/applications/science/spyder/default.nix
+++ b/pkgs/applications/science/spyder/default.nix
@@ -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 ];