diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2015-08-29 11:44:02 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2015-09-15 20:25:16 +0200 |
commit | 316a09377d12b29764b5daf51e0df8986a5fe175 (patch) | |
tree | 72174b74d74c494c094c2419c4c3794b5c605001 /pkgs | |
parent | 1f58b332a0acb43470d49f1df71e2aee0c5c4e2c (diff) | |
download | nixlib-316a09377d12b29764b5daf51e0df8986a5fe175.tar nixlib-316a09377d12b29764b5daf51e0df8986a5fe175.tar.gz nixlib-316a09377d12b29764b5daf51e0df8986a5fe175.tar.bz2 nixlib-316a09377d12b29764b5daf51e0df8986a5fe175.tar.lz nixlib-316a09377d12b29764b5daf51e0df8986a5fe175.tar.xz nixlib-316a09377d12b29764b5daf51e0df8986a5fe175.tar.zst nixlib-316a09377d12b29764b5daf51e0df8986a5fe175.zip |
numba: init at 0.21.0, fixes #9516
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2540fb2eaeae..da228a368847 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9237,6 +9237,32 @@ let }; }; + numba = buildPythonPackage rec { + version = "0.21.0"; + name = "numba-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/n/numba/${name}.tar.gz"; + sha256 = "1806d2f6ad49ad891e9ac6fed0cc0b0489cbfcd9ba2dc81081c1c30091e77604"; + }; + + propagatedBuildInputs = with self; [numpy llvmlite argparse] ++ optional (!isPy3k) funcsigs ++ optional (isPy27 || isPy33) singledispatch; + # Future work: add Cuda support. + #propagatedBuildInputs = with self; [numpy llvmlite argparse pkgs.cudatoolkit6]; + #buildPhase = '' + # export NUMBAPRO_CUDA_DRIVER= + # export NUMBAPRO_NVVM=${pkgs.cudatoolkit6} + # export NUMBAPRO_LIBDEVICE= + #''; + + meta = { + homepage = http://numba.pydata.org/; + license = licenses.bsd2; + description = "Compiling Python code using LLVM"; + maintainers = with maintainers; [ fridh ]; + }; + }; + numexpr = buildPythonPackage rec { version = "2.4.3"; name = "numexpr-${version}"; |