diff options
-rw-r--r-- | pkgs/development/python-modules/celery/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index 1a04fce11dc..67c3c58794d 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -10,6 +10,7 @@ , click-repl , dnspython , fetchPypi +, fetchpatch , kombu , moto , pymongo @@ -35,6 +36,19 @@ buildPythonPackage rec { hash = "sha256-+vvYKTTTD4oAT4Ho96Bi4xQToj1ES+juMyZVORWVjG0="; }; + patches = [ + (fetchpatch { + name = "billiard-4.0-comat.patch"; + url = "https://github.com/celery/celery/commit/b260860988469ef8ad74f2d4225839c2fa91d590.patch"; + hash = "sha256-NWB/UB0fE7A/vgMRYz6QGmqLmyN1ninAMyL4V2tpzto="; + }) + ]; + + postPatch = '' + substituteInPlace requirements/default.txt \ + --replace "billiard>=3.6.4.0,<4.0" "billiard>=3.6.4.0" + ''; + propagatedBuildInputs = [ billiard click |