summary refs log tree commit diff
path: root/pkgs/development/python-modules/ibis-framework/default.nix
blob: e4ce6425f2610f0b76a6cfb98a37455689067d58 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{ lib
, buildPythonPackage
, fetchPypi
, multipledispatch
, numpy
, pandas
, pytz
, regex
, toolz
, isPy27
, pytest
, sqlalchemy
, requests
, tables
, pyarrow
, graphviz
}:

buildPythonPackage rec {
  pname = "ibis-framework";
  version = "1.2.0";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "3a0b79dae6924be0a79669c881a9a1d4817997ad2f81a0f3b1cd03d70aebb071";
  };

  propagatedBuildInputs = [
    multipledispatch
    numpy
    pandas
    pytz
    regex
    toolz
    sqlalchemy
    requests
    graphviz
    tables
    pyarrow
  ];

  checkInputs = [
    pytest
  ];

  checkPhase = ''
    pytest ibis
  '';

  meta = with lib; {
    description = "Productivity-centric Python Big Data Framework";
    homepage = "https://github.com/ibis-project/ibis";
    license = licenses.asl20;
    maintainers = [ maintainers.costrouc ];
  };
}