aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/crate/default.nix
blob: 42236b4d7c225c969e4e528935ff707d1af58c47 (plain)
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
{ stdenv
, fetchPypi
, buildPythonPackage
, urllib3
, isPy3k
, mock
, sqlalchemy
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "crate";
  version = "0.24.0";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "028q9r1qyqkq185awkazhplfy7y1081963fnjzi3kf3lxvz6yhay";
  };

  propagatedBuildInputs = [
    urllib3
  ];

  checkInputs = [
    pytestCheckHook
    sqlalchemy
    mock
  ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/crate/crate-python";
    description = "A Python client library for CrateDB";
    license = licenses.asl20;
    maintainers = with maintainers; [ doronbehar ];
  };
}