Skip to content

Commit

Permalink
python311Packages.webtest-aiohttp: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Jan 22, 2023
1 parent bdfb499 commit 5ebf4e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/webtest-aiohttp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
Expand All @@ -22,6 +23,14 @@ buildPythonPackage rec {
sha256 = "sha256-UuAz/k/Tnumupv3ybFR7PkYHwG3kH7M5oobZykEP+ao=";
};

patches = [
(fetchpatch {
name = "python311-compat.patch";
url = "https://github.com/sloria/webtest-aiohttp/commit/64e5ab1867ea9ef87901bb2a1a6142566bffc90b.patch";
hash = "sha256-OKJGajqJLFMkcbGmGfU9G5hCpJaj24Gs363sI0z7YZw=";
})
];

propagatedBuildInputs = [
webtest
];
Expand Down

0 comments on commit 5ebf4e7

Please sign in to comment.