mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #126085 from turion/dev_pyathena
pythonPackages.pyathena: init at 2.3.0
This commit is contained in:
commit
890d384057
39
pkgs/development/python-modules/pyathena/default.nix
Normal file
39
pkgs/development/python-modules/pyathena/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, sqlalchemy
|
||||||
|
, boto3
|
||||||
|
, botocore
|
||||||
|
, pandas
|
||||||
|
, tenacity
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyathena";
|
||||||
|
version = "2.3.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "PyAthena";
|
||||||
|
inherit version;
|
||||||
|
sha256 = "08fl653yayvqi991zvcai5ifcxwy9ip6xh0cr3lbimggjnjgwsl5";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Nearly all tests depend on a working AWS Athena instance,
|
||||||
|
# therefore deactivating them.
|
||||||
|
# https://github.com/laughingman7743/PyAthena/#testing
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
boto3
|
||||||
|
botocore
|
||||||
|
pandas
|
||||||
|
tenacity
|
||||||
|
];
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5523,6 +5523,8 @@ in {
|
|||||||
|
|
||||||
pyasn1-modules = callPackage ../development/python-modules/pyasn1-modules { };
|
pyasn1-modules = callPackage ../development/python-modules/pyasn1-modules { };
|
||||||
|
|
||||||
|
pyathena = callPackage ../development/python-modules/pyathena { };
|
||||||
|
|
||||||
pyatmo = callPackage ../development/python-modules/pyatmo { };
|
pyatmo = callPackage ../development/python-modules/pyatmo { };
|
||||||
|
|
||||||
pyatspi = callPackage ../development/python-modules/pyatspi { };
|
pyatspi = callPackage ../development/python-modules/pyatspi { };
|
||||||
|
Loading…
Reference in New Issue
Block a user