Skip to content

Commit

Permalink
pythonPackages.httpx: fix tests
Browse files Browse the repository at this point in the history
test suite contained a literal timestamp which expired, fixed upstream
  • Loading branch information
risicle committed Sep 13, 2020
1 parent b3fd422 commit 92a9db2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/httpx/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, certifi
, chardet
, h11
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 92a9db2

Please sign in to comment.