My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pyathena/default.nix

46 lines
902 B

{ lib
, buildPythonPackage
, fetchPypi
, boto3
, botocore
, pandas
, tenacity
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyathena";
version = "2.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyAthena";
inherit version;
sha256 = "sha256-vjoK6lEitvd5vqSEE/ael8q00O05lquKIviFK/bPlVQ=";
};
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 ];
};
}