summary refs log tree commit diff
path: root/pkgs/development/python-modules/numba
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-12-30 12:25:04 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-12-31 11:01:53 +0100
commite76f06c64971e0a0657c4d79dd08a03c545bde26 (patch)
treea2d79c143d34d7c432af091dae9e8bf3abe3ec81 /pkgs/development/python-modules/numba
parentdcf88276e4e92bdba0cfb878ab6cf8cc80cff1fc (diff)
downloadnixlib-e76f06c64971e0a0657c4d79dd08a03c545bde26.tar
nixlib-e76f06c64971e0a0657c4d79dd08a03c545bde26.tar.gz
nixlib-e76f06c64971e0a0657c4d79dd08a03c545bde26.tar.bz2
nixlib-e76f06c64971e0a0657c4d79dd08a03c545bde26.tar.lz
nixlib-e76f06c64971e0a0657c4d79dd08a03c545bde26.tar.xz
nixlib-e76f06c64971e0a0657c4d79dd08a03c545bde26.tar.zst
nixlib-e76f06c64971e0a0657c4d79dd08a03c545bde26.zip
python: numba: 0.35.0 -> 0.36.2
Diffstat (limited to 'pkgs/development/python-modules/numba')
-rw-r--r--pkgs/development/python-modules/numba/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix
index b0d7ae72c95b..97aad8c09285 100644
--- a/pkgs/development/python-modules/numba/default.nix
+++ b/pkgs/development/python-modules/numba/default.nix
@@ -1,5 +1,5 @@
 { stdenv
-, fetchurl
+, fetchPypi
 , python
 , buildPythonPackage
 , isPy27
@@ -14,13 +14,12 @@
 }:
 
 buildPythonPackage rec {
-  version = "0.35.0";
+  version = "0.36.2";
   pname = "numba";
-  name = "${pname}-${version}";
 
-  src = fetchurl {
-    url = "mirror://pypi/n/numba/${name}.tar.gz";
-    sha256 = "11564937757605bee590c5758c73cfe9fd6d569726b56d970316a6228971ecc3";
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "d61597808ce511e81b64e32da664f52beb7d947bf834dde8b8b60b29d205e5c2";
   };
 
   NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
@@ -29,7 +28,7 @@ buildPythonPackage rec {
 
   # Copy test script into $out and run the test suite.
   checkPhase = ''
-    python -m numba.runtests
+    ${python.interpreter} -m numba.runtests
   '';
   # ImportError: cannot import name '_typeconv'
   doCheck = false;