1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00

python: numba: 0.35.0 -> 0.36.2

This commit is contained in:
Frederik Rietdijk 2017-12-30 12:25:04 +01:00
parent dcf88276e4
commit e76f06c649

View file

@ -1,5 +1,5 @@
{ stdenv { stdenv
, fetchurl , fetchPypi
, python , python
, buildPythonPackage , buildPythonPackage
, isPy27 , isPy27
@ -14,13 +14,12 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.35.0"; version = "0.36.2";
pname = "numba"; pname = "numba";
name = "${pname}-${version}";
src = fetchurl { src = fetchPypi {
url = "mirror://pypi/n/numba/${name}.tar.gz"; inherit pname version;
sha256 = "11564937757605bee590c5758c73cfe9fd6d569726b56d970316a6228971ecc3"; sha256 = "d61597808ce511e81b64e32da664f52beb7d947bf834dde8b8b60b29d205e5c2";
}; };
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; 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. # Copy test script into $out and run the test suite.
checkPhase = '' checkPhase = ''
python -m numba.runtests ${python.interpreter} -m numba.runtests
''; '';
# ImportError: cannot import name '_typeconv' # ImportError: cannot import name '_typeconv'
doCheck = false; doCheck = false;