pythonPackages.httpx: fix tests

test suite contained a literal timestamp which expired, fixed upstream
This commit is contained in:
Robert Scott 2020-09-13 12:44:47 +01:00
parent b3fd4226ba
commit 92a9db2e3e

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