Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 46 lines 901 B view raw
1{ lib 2, boto3 3, botocore 4, buildPythonPackage 5, fetchPypi 6, pandas 7, pythonOlder 8, tenacity 9}: 10 11buildPythonPackage rec { 12 pname = "pyathena"; 13 version = "2.14.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 pname = "PyAthena"; 20 inherit version; 21 hash = "sha256-1DeqvlHlOt781nObnPdgZo3JqjwcK8lSREXqUNoKhhU="; 22 }; 23 24 propagatedBuildInputs = [ 25 boto3 26 botocore 27 pandas 28 tenacity 29 ]; 30 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; 35 36 pythonImportsCheck = [ 37 "pyathena" 38 ]; 39 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 }; 46}