Merge pull request #117891 from risicle/ris-urllib3-1.26.4

This commit is contained in:
Martin Weinelt 2021-03-29 19:24:51 +02:00 committed by GitHub
commit 2d92fac382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View File

@ -4,6 +4,7 @@
, certifi
, cryptography
, dateutil
, fetchpatch
, fetchPypi
, idna
, mock
@ -26,6 +27,14 @@ buildPythonPackage rec {
sha256 = "19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08";
};
patches = [
(fetchpatch {
name = "CVE-2021-28363.patch";
url = "https://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0.patch";
sha256 = "1lqhrd11p03iv14bp89rh67ynf000swmwsfvr3jpfdycdqr3ka9q";
})
];
propagatedBuildInputs = [
brotli
certifi

View File

@ -19,11 +19,11 @@
buildPythonPackage rec {
pname = "urllib3";
version = "1.26.3";
version = "1.26.4";
src = fetchPypi {
inherit pname version;
sha256 = "de3eedaad74a2683334e282005cd8d7f22f4d55fa690a2a1020a416cb0a47e73";
sha256 = "0dw9w9bs3hmr5dp3r3h43jyzzb1g1046ag7lj8pqf58i4kvj3c77";
};
propagatedBuildInputs = [