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