mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
python3.pkgs.sanic: fix tests running on one CPU
This commit is contained in:
parent
af13ed4483
commit
532347744e
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user