1{ lib
2, buildPythonPackage
3, fetchPypi
4, boto3
5, botocore
6, pandas
7, tenacity
8}:
9
10buildPythonPackage rec {
11 pname = "pyathena";
12 version = "2.3.0";
13
14 src = fetchPypi {
15 pname = "PyAthena";
16 inherit version;
17 sha256 = "08fl653yayvqi991zvcai5ifcxwy9ip6xh0cr3lbimggjnjgwsl5";
18 };
19
20 # Nearly all tests depend on a working AWS Athena instance,
21 # therefore deactivating them.
22 # https://github.com/laughingman7743/PyAthena/#testing
23 doCheck = false;
24
25 propagatedBuildInputs = [
26 boto3
27 botocore
28 pandas
29 tenacity
30 ];
31
32 meta = with lib; {
33 homepage = "https://github.com/laughingman7743/PyAthena/";
34 license = licenses.mit;
35 description = "Python DB API 2.0 (PEP 249) client for Amazon Athena";
36 maintainers = with maintainers; [ turion ];
37 };
38}