66 lines
970 B
Nix
66 lines
970 B
Nix
{ 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;
|
|
};
|
|
}
|