mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 03:48:14 +00:00
Merge pull request #165429 from SuperSandro2000/requests
This commit is contained in:
commit
480410be1a
@ -30,21 +30,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
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user