aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/crate/default.nix
blob: 84e1b9048e2c7c1e035a4ed85a11fe424ca6d27e (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.26.0";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "6f650c2efe250b89bf35f8fe3211eb37ebc8d76f7a9c09bd73db3076708fa2fc";
  };

  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 ];
  };
}