Merge pull request #97899 from risicle/ris-httpx-fix

pythonPackages.httpx: fix tests
This commit is contained in:
Martin Weinelt 2020-09-13 15:19:53 +02:00 committed by GitHub
commit e452e42d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, certifi
, chardet
, h11
@ -31,6 +32,14 @@ buildPythonPackage rec {
sha256 = "08b6k5g8car3bic90aw4ysb2zvsa5nm8qk3hk4dgamllnnxzl5br";
};
patches = [
(fetchpatch {
name = "fix-cookie-test-timestamp.patch";
url = "https://github.com/encode/httpx/pull/1270.patch";
sha256 = "1hgrynac6226sgnyzmsr1nr15rn49gbfmk4c2kx3dwkbh6vr7jpd";
})
];
propagatedBuildInputs = [
certifi
chardet