diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-07-29 11:55:11 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-07-29 13:04:07 +0200 |
commit | 25fa9f2f14ca36159cb25f0405558351e87b5292 (patch) | |
tree | b88b9555e81281a0476afee40ed960b59230fb9f /pkgs/development | |
parent | b714a38bba7ed15002b16f498dec52455f0c8950 (diff) | |
download | nixlib-25fa9f2f14ca36159cb25f0405558351e87b5292.tar nixlib-25fa9f2f14ca36159cb25f0405558351e87b5292.tar.gz nixlib-25fa9f2f14ca36159cb25f0405558351e87b5292.tar.bz2 nixlib-25fa9f2f14ca36159cb25f0405558351e87b5292.tar.lz nixlib-25fa9f2f14ca36159cb25f0405558351e87b5292.tar.xz nixlib-25fa9f2f14ca36159cb25f0405558351e87b5292.tar.zst nixlib-25fa9f2f14ca36159cb25f0405558351e87b5292.zip |
python.pkgs.blaze: move expression
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/blaze/default.nix | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/blaze/default.nix b/pkgs/development/python-modules/blaze/default.nix new file mode 100644 index 000000000000..017b85cacc7c --- /dev/null +++ b/pkgs/development/python-modules/blaze/default.nix @@ -0,0 +1,75 @@ +{ lib +, buildPythonPackage +, fetchurl +, pytest +, contextlib2 +, cytoolz +, dask +, datashape +, flask +, flask-cors +, h5py +, multipledispatch +, numba +, numpy +, odo +, pandas +, psutil +, pymongo +, pyyaml +, requests +, sqlalchemy +, tables +, toolz +}: + +buildPythonPackage rec { + pname = "blaze"; + version = "0.11.0"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "https://github.com/blaze/blaze/archive/${version}.tar.gz"; + sha256 = "07zrrxkmdqk84xvdmp29859zcfzlpx5pz6g62l28nqp6n6a7yq9a"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ + contextlib2 + cytoolz + dask + datashape + flask + flask-cors + h5py + multipledispatch + numba + numpy + odo + pandas + psutil + pymongo + pyyaml + requests + sqlalchemy + tables + toolz + ]; + + # Failing test + # ERROR collecting blaze/tests/test_interactive.py + # E networkx.exception.NetworkXNoPath: node <class 'list'> not + # reachable from <class 'dask.array.core.Array'> + doCheck = false; + + checkPhase = '' + py.test blaze/tests + ''; + + meta = { + homepage = https://github.com/ContinuumIO/blaze; + description = "Allows Python users a familiar interface to query data living in other data storage systems"; + license = lib.licenses.bsdOriginal; + maintainers = with lib.maintainers; [ fridh ]; + }; +} \ No newline at end of file |