Skip to content

Commit

Permalink
python3Packages.aiojobs: fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leona-ya committed Apr 18, 2024
1 parent 3610489 commit a43333c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/python-modules/aiojobs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
Expand All @@ -23,6 +24,13 @@ buildPythonPackage rec {
hash = "sha256-LwFXb/SHP6bbqPg1tqYwE03FKHf4Mv1PPOxnPdESH0I=";
};

patches = [
(fetchpatch {
url = "https://github.com/aio-libs/aiojobs/commit/1b88049841397b01f88aee7d92174ac5a15217c1.patch";
hash = "sha256-b38Ipa29T6bEVsPe04ZO3WCcs6+0fOQDCJM+w8K1bVY=";
})
];

postPatch = ''
substituteInPlace pytest.ini \
--replace "--cov=aiojobs/ --cov=tests/ --cov-report term" ""
Expand Down

0 comments on commit a43333c

Please sign in to comment.