blob: fe9d3276e1be0a6b67565623c44162f201c06fce (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, boto3
, botocore
, pandas
, tenacity
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyathena";
version = "2.5.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyAthena";
inherit version;
sha256 = "sha256-GTcDiDtZGgTpdl6YBgPuztv7heEPZ/ymhup/4JwfELA=";
};
propagatedBuildInputs = [
boto3
botocore
pandas
tenacity
];
# Nearly all tests depend on a working AWS Athena instance,
# therefore deactivating them.
# https://github.com/laughingman7743/PyAthena/#testing
doCheck = false;
pythonImportsCheck = [
"pyathena"
];
meta = with lib; {
homepage = "https://github.com/laughingman7743/PyAthena/";
license = licenses.mit;
description = "Python DB API 2.0 (PEP 249) client for Amazon Athena";
maintainers = with maintainers; [ turion ];
};
}
|