pythonPackages.snowflake-connector-python: init at 2.1.2

This commit is contained in:
Wael M. Nasreddine 2019-07-16 18:14:38 -07:00 committed by Jon
parent 83288405df
commit 892f2962ff
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,65 @@
{ buildPythonPackage
, asn1crypto
, azure-storage-blob
, boto3
, certifi
, cffi
, fetchPypi
, future
, idna
, ijson
, isPy3k
, lib
, oscrypto
, pyarrow
, pyasn1-modules
, pycryptodomex
, pyjwt
, pyopenssl
, pytz
, requests
, six
, urllib3
}:
buildPythonPackage rec {
pname = "snowflake-connector-python";
version = "2.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "06061d59lapqrlg3gzdk4bi3v9c3q5zxfs0if5v2chg1f2l80ncr";
};
propagatedBuildInputs = [
azure-storage-blob
asn1crypto
boto3
certifi
cffi
future
idna
ijson
oscrypto
pycryptodomex
pyjwt
pyopenssl
pytz
requests
six
] ++ lib.optionals (!isPy3k) [
pyarrow
pyasn1-modules
urllib3
];
# tests are not working
# XXX: fix the tests
doCheck = false;
meta = with lib; {
description = "Snowflake Connector for Python";
homepage = "https://www.snowflake.com/";
license = licenses.asl20;
};
}

View File

@ -5311,6 +5311,8 @@ in {
slimit = callPackage ../development/python-modules/slimit { }; slimit = callPackage ../development/python-modules/slimit { };
snowflake-connector-python = callPackage ../development/python-modules/snowflake-connector-python { };
snowballstemmer = callPackage ../development/python-modules/snowballstemmer { }; snowballstemmer = callPackage ../development/python-modules/snowballstemmer { };
snitun = callPackage ../development/python-modules/snitun { }; snitun = callPackage ../development/python-modules/snitun { };