1{ lib
2, buildPythonPackage
3, fetchurl
4, pytest
5, contextlib2
6, cytoolz
7, dask
8, datashape
9, flask
10, flask-cors
11, h5py
12, multipledispatch
13, numba
14, numpy
15, odo
16, pandas
17, psutil
18, pymongo
19, pyyaml
20, requests
21, sqlalchemy
22, tables
23, toolz
24}:
25
26buildPythonPackage rec {
27 pname = "blaze";
28 version = "0.11.0";
29 name = "${pname}-${version}";
30
31 src = fetchurl {
32 url = "https://github.com/blaze/blaze/archive/${version}.tar.gz";
33 sha256 = "07zrrxkmdqk84xvdmp29859zcfzlpx5pz6g62l28nqp6n6a7yq9a";
34 };
35
36 checkInputs = [ pytest ];
37 propagatedBuildInputs = [
38 contextlib2
39 cytoolz
40 dask
41 datashape
42 flask
43 flask-cors
44 h5py
45 multipledispatch
46 numba
47 numpy
48 odo
49 pandas
50 psutil
51 pymongo
52 pyyaml
53 requests
54 sqlalchemy
55 tables
56 toolz
57 ];
58
59 # Failing test
60 # ERROR collecting blaze/tests/test_interactive.py
61 # E networkx.exception.NetworkXNoPath: node <class 'list'> not
62 # reachable from <class 'dask.array.core.Array'>
63 doCheck = false;
64
65 checkPhase = ''
66 py.test blaze/tests
67 '';
68
69 meta = {
70 homepage = https://github.com/ContinuumIO/blaze;
71 description = "Allows Python users a familiar interface to query data living in other data storage systems";
72 license = lib.licenses.bsdOriginal;
73 maintainers = with lib.maintainers; [ fridh ];
74 };
75}