18 buildPythonPackage rec {
23 disabled = pythonOlder "3.8";
26 inherit pname version;
27 hash = "sha256-paFTmhPGr2qz1CK425tbSHEbexcl+lqmgoL6RZmfC2o=";
30 build-system = [ hatchling ];
40 optional-dependencies = {
42 sqlalchemy = [ sqlalchemy ];
44 fastparquet = [ fastparquet ];
47 # Nearly all tests depend on a working AWS Athena instance,
48 # therefore deactivating them.
49 # https://github.com/laughingman7743/PyAthena/#testing
52 pythonImportsCheck = [ "pyathena" ];
55 description = "Python DB API 2.0 (PEP 249) client for Amazon Athena";
56 homepage = "https://github.com/laughingman7743/PyAthena/";
57 changelog = "https://github.com/laughingman7743/PyAthena/releases/tag/v${version}";
58 license = licenses.mit;