summary refs log tree commit diff
path: root/pkgs/development/python-modules/odo/default.nix
blob: 73b3f0be1503a03829e6e1fe476ba3c11b3777f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, datashape
, numpy
, pandas
, toolz
, multipledispatch
, networkx
}:

buildPythonPackage rec {
  pname = "odo";
  version= "0.5.0";
  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1mh5k69d9ph9jd07jl9yqh78rbnh5cjspi1q530v3ml7ivjzz4p8";
  };

  checkInputs = [ pytest ];
  propagatedBuildInputs = [ datashape numpy pandas toolz multipledispatch networkx ];

  checkPhase = ''
    py.test odo/tests
  '';

  meta = {
    homepage = https://github.com/ContinuumIO/odo;
    description = "Data migration utilities";
    license = lib.licenses.bsdOriginal;
    maintainers = with lib.maintainers; [ fridh ];
  };
}