python3Packages.requests: handle idna 3

This commit is contained in:
Frederik Rietdijk 2021-03-24 16:00:59 +01:00
parent c12ef05bda
commit a31eaddb60

View File

@ -20,6 +20,11 @@ buildPythonPackage rec {
sha256 = "sha256-J5c91KkEpPE7JjoZyGbBO5KjntHJZGVfAl8/jT11uAQ=";
};
postPatch = ''
# Use latest idna
substituteInPlace setup.py --replace ",<3" ""
'';
propagatedBuildInputs = [
certifi
chardet