python39Packages.requests: remove no longer required patch
This commit is contained in:
@@ -31,21 +31,15 @@ buildPythonPackage rec {
|
||||
./0001-Prefer-NixOS-Nix-default-CA-bundles-over-certifi.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Use latest idna
|
||||
substituteInPlace setup.py \
|
||||
--replace ",<3" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
idna
|
||||
urllib3
|
||||
chardet
|
||||
] ++ lib.optionals (isPy3k) [
|
||||
] ++ lib.optionals isPy3k [
|
||||
brotlicffi
|
||||
charset-normalizer
|
||||
] ++ lib.optionals (isPy27) [
|
||||
] ++ lib.optionals isPy27 [
|
||||
brotli
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user