python39Packages.snowflake-connector-python: remove outdated postPatch, unused inputs, update meta

This commit is contained in:
Sandro Jäckel 2021-08-26 14:16:20 +02:00 committed by Jonathan Ringer
parent 08c44bee2b
commit 9755196b72

View File

@ -10,7 +10,6 @@
, future
, idna
, ijson
, isPy3k
, oscrypto
, pyarrow
, pyasn1-modules
@ -54,14 +53,6 @@ buildPythonPackage rec {
urllib3
];
postPatch = ''
# https://github.com/snowflakedb/snowflake-connector-python/issues/705
substituteInPlace setup.py \
--replace "idna>=2.5,<3" "idna" \
--replace "certifi<2021.0.0" "certifi" \
--replace "chardet>=3.0.2,<4" "chardet"
'';
# Tests require encrypted secrets, see
# https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters
doCheck = false;
@ -75,5 +66,6 @@ buildPythonPackage rec {
description = "Snowflake Connector for Python";
homepage = "https://www.snowflake.com/";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}