ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyathena / default.nix
blob15b43db0e5b412836ab9bd99dc12312ca68e353d
1 { lib
2 , boto3
3 , botocore
4 , buildPythonPackage
5 , fetchPypi
6 , pandas
7 , pythonOlder
8 , tenacity
9 }:
11 buildPythonPackage rec {
12   pname = "pyathena";
13   version = "2.14.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     pname = "PyAthena";
20     inherit version;
21     hash = "sha256-1DeqvlHlOt781nObnPdgZo3JqjwcK8lSREXqUNoKhhU=";
22   };
24   propagatedBuildInputs = [
25     boto3
26     botocore
27     pandas
28     tenacity
29   ];
31   # Nearly all tests depend on a working AWS Athena instance,
32   # therefore deactivating them.
33   # https://github.com/laughingman7743/PyAthena/#testing
34   doCheck = false;
36   pythonImportsCheck = [
37     "pyathena"
38   ];
40   meta = with lib; {
41     description = "Python DB API 2.0 (PEP 249) client for Amazon Athena";
42     homepage = "https://github.com/laughingman7743/PyAthena/";
43     license = licenses.mit;
44     maintainers = with maintainers; [ turion ];
45   };