Merge pull request #249676 from tjni/sanic

python3.pkgs.sanic: fix tests running on one CPU
This commit is contained in:
OTABI Tomoya
2023-08-17 15:18:12 +09:00
committed by GitHub
@@ -2,9 +2,11 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
# build-system
, setuptools
, wheel
# propagates
, aiofiles
@@ -47,8 +49,18 @@ buildPythonPackage rec {
hash = "sha256-Ffw92mlYNV+ikb6299uw24EI1XPpl3Ju2st1Yt/YHKw=";
};
patches = [
# https://github.com/sanic-org/sanic/pull/2801
(fetchpatch {
name = "fix-test-one-cpu.patch";
url = "https://github.com/sanic-org/sanic/commit/a1df2a6de1c9c88a85d166e7e2636d26f7925852.patch";
hash = "sha256-vljGuoP/Q9HrP+/AOoI1iUpbDQ4/1Pn7AURP1dncI00=";
})
];
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [