Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, asn1crypto 3, azure-storage-blob 4, boto3 5, certifi 6, cffi 7, fetchPypi 8, future 9, idna 10, ijson 11, isPy3k 12, lib 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.1.2"; 28 29 src = fetchPypi { 30 inherit pname version; 31 sha256 = "06061d59lapqrlg3gzdk4bi3v9c3q5zxfs0if5v2chg1f2l80ncr"; 32 }; 33 34 propagatedBuildInputs = [ 35 azure-storage-blob 36 asn1crypto 37 boto3 38 certifi 39 cffi 40 future 41 idna 42 ijson 43 oscrypto 44 pycryptodomex 45 pyjwt 46 pyopenssl 47 pytz 48 requests 49 six 50 ] ++ lib.optionals (!isPy3k) [ 51 pyarrow 52 pyasn1-modules 53 urllib3 54 ]; 55 56 # tests are not working 57 # XXX: fix the tests 58 doCheck = false; 59 60 meta = with lib; { 61 description = "Snowflake Connector for Python"; 62 homepage = "https://www.snowflake.com/"; 63 license = licenses.asl20; 64 broken = true; 65 }; 66}