1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytest
5, datashape
6, numpy
7, pandas
8, toolz
9, multipledispatch
10, networkx
11, dask
12}:
13
14buildPythonPackage rec {
15 pname = "odo";
16 version= "0.5.1";
17
18
19 src = fetchFromGitHub {
20 owner = "blaze";
21 repo = pname;
22 rev = version;
23 sha256 = "142f4jvaqjn0dq6rvlk7d7mzcmc255a9z4nxc1b3a862hp4gvijs";
24 };
25
26 checkInputs = [ pytest dask ];
27 propagatedBuildInputs = [ datashape numpy pandas toolz multipledispatch networkx ];
28
29 # Disable failing tests
30 # https://github.com/blaze/odo/issues/609
31 checkPhase = ''
32 py.test -k "not test_numpy_asserts_type_after_dataframe" odo/tests
33 '';
34
35 meta = {
36 homepage = https://github.com/ContinuumIO/odo;
37 description = "Data migration utilities";
38 license = lib.licenses.bsdOriginal;
39 maintainers = with lib.maintainers; [ fridh ];
40 # incomaptible with Networkx 2
41 # see https://github.com/blaze/odo/pull/601
42 broken = true;
43 };
44}