1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, datashape
6, numpy
7, pandas
8, toolz
9, multipledispatch
10, networkx
11}:
12
13buildPythonPackage rec {
14 pname = "odo";
15 version= "0.5.0";
16 name = "${pname}-${version}";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "1mh5k69d9ph9jd07jl9yqh78rbnh5cjspi1q530v3ml7ivjzz4p8";
21 };
22
23 checkInputs = [ pytest ];
24 propagatedBuildInputs = [ datashape numpy pandas toolz multipledispatch networkx ];
25
26 checkPhase = ''
27 py.test odo/tests
28 '';
29
30 meta = {
31 homepage = https://github.com/ContinuumIO/odo;
32 description = "Data migration utilities";
33 license = lib.licenses.bsdOriginal;
34 maintainers = with lib.maintainers; [ fridh ];
35 };
36}