1{ lib
2, buildPythonPackage
3, fetchFromGitHub
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.3";
29
30 src = fetchFromGitHub {
31 owner = pname;
32 repo = pname;
33 rev = version;
34 sha256 = "0w916k125058p40cf7i090f75pgv3cqdb8vwjzqhb9r482fa6717";
35 };
36
37 checkInputs = [ pytest ];
38 propagatedBuildInputs = [
39 contextlib2
40 cytoolz
41 dask
42 datashape
43 flask
44 flask-cors
45 h5py
46 multipledispatch
47 numba
48 numpy
49 odo
50 pandas
51 psutil
52 pymongo
53 pyyaml
54 requests
55 sqlalchemy
56 tables
57 toolz
58 ];
59
60 checkPhase = ''
61 rm pytest.ini # Not interested in coverage
62 py.test blaze/tests
63 '';
64
65 meta = {
66 homepage = https://github.com/ContinuumIO/blaze;
67 description = "Allows Python users a familiar interface to query data living in other data storage systems";
68 license = lib.licenses.bsdOriginal;
69 maintainers = with lib.maintainers; [ fridh ];
70 };
71}