mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
pythonPackages.httpx: fix tests
test suite contained a literal timestamp which expired, fixed upstream
This commit is contained in:
parent
b3fd4226ba
commit
92a9db2e3e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user