19 buildPythonPackage rec {
20 pname = "pytest-celery";
24 disabled = pythonOlder "3.8";
26 src = fetchFromGitHub {
28 repo = "pytest-celery";
30 hash = "sha256-TUtKfGOxvVkiMhsUqyNDK08OTuzzKHrBiPU4JCKsIKM=";
34 # Avoid infinite recursion with celery
35 substituteInPlace pyproject.toml \
36 --replace 'celery = { version = "*" }' ""
44 build-system = [ poetry-core ];
46 buildInput = [ pytest ];
57 # Infinite recursion with celery
61 description = "Pytest plugin to enable celery.contrib.pytest";
62 homepage = "https://github.com/celery/pytest-celery";
63 changelog = "https://github.com/celery/pytest-celery/blob/v${version}/Changelog.rst";
64 license = licenses.mit;