python3Packges.celery: fix build

This commit is contained in:
Jonathan Ringer 2021-07-05 23:20:49 -07:00
parent 5f4bbbffa4
commit 2468ca4a85
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -12,9 +12,13 @@ buildPythonPackage rec {
sha256 = "54436cd97b031bf2e08064223240e2a83d601d9414bcb1b702f94c6c33c29485";
};
# click is only used for the repl, in most cases this shouldn't impact
# downstream packages
postPatch = ''
substituteInPlace requirements/test.txt \
--replace "moto==1.3.7" moto
substituteInPlace requirements/default.txt \
--replace "click>=7.0,<8.0" click
'';
propagatedBuildInputs = [ billiard click click-didyoumean click-plugins click-repl kombu pytz vine ];