1{ lib 2, buildPythonPackage 3, pythonOlder 4, asn1crypto 5, azure-storage-blob 6, boto3 7, certifi 8, cffi 9, fetchPypi 10, future 11, idna 12, ijson 13, oscrypto 14, pyarrow 15, pyasn1-modules 16, pycryptodomex 17, pyjwt 18, pyopenssl 19, pytz 20, requests 21, six 22, urllib3 23}: 24 25buildPythonPackage rec { 26 pname = "snowflake-connector-python"; 27 version = "2.6.2"; 28 disabled = pythonOlder "3.6"; 29 30 src = fetchPypi { 31 inherit pname version; 32 sha256 = "ce131b1dd059a4d081e78595d618654bf9b9fc184d78352f24512375467257d1"; 33 }; 34 35 propagatedBuildInputs = [ 36 azure-storage-blob 37 asn1crypto 38 boto3 39 certifi 40 cffi 41 future 42 idna 43 ijson 44 oscrypto 45 pycryptodomex 46 pyjwt 47 pyopenssl 48 pytz 49 requests 50 six 51 pyarrow 52 pyasn1-modules 53 urllib3 54 ]; 55 56 # Tests require encrypted secrets, see 57 # https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters 58 doCheck = false; 59 60 pythonImportsCheck = [ 61 "snowflake" 62 "snowflake.connector" 63 ]; 64 65 meta = with lib; { 66 description = "Snowflake Connector for Python"; 67 homepage = "https://www.snowflake.com/"; 68 license = licenses.asl20; 69 maintainers = with maintainers; [ ]; 70 }; 71}