From 29c22648374fd06c71044cc386d6abec05eff2bd Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Wed, 18 Mar 2020 13:25:27 -0700 Subject: [PATCH] python3Packages.snowflake-connector-python: 2.2.0 -> 2.2.2 --- .../snowflake-connector-python/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/snowflake-connector-python/default.nix b/pkgs/development/python-modules/snowflake-connector-python/default.nix index 84e92fa9f7c7..1d83edbc7229 100644 --- a/pkgs/development/python-modules/snowflake-connector-python/default.nix +++ b/pkgs/development/python-modules/snowflake-connector-python/default.nix @@ -25,12 +25,12 @@ buildPythonPackage rec { pname = "snowflake-connector-python"; - version = "2.2.0"; + version = "2.2.2"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "1d3qxjqc79fi2l4sns5svbc6kfaihivsrpycflmh50h7x0k9sv7f"; + sha256 = "1qqlqypxj3j5qz8jjzil7250alf0w4bx8k8ndyj2ymp8kq2z1v0j"; }; propagatedBuildInputs = [ @@ -55,6 +55,11 @@ buildPythonPackage rec { urllib3 ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "'cffi>=1.9,<1.14'," "'cffi~=1.9'," + ''; + # tests are not working # XXX: fix the tests doCheck = false;