1 { lib, buildPythonPackage, fetchFromGitHub }:
3 buildPythonPackage rec {
4 pname = "pytest-celery";
9 src = fetchFromGitHub {
11 repo = "pytest-celery";
13 sha256 = "sha256-vzWwkOS3BLOInaFDk+PegvEmC88ZZ1sG1CmHwhn7r9w=";
17 # avoid infinite recursion with celery
18 substituteInPlace pyproject.toml \
19 --replace '"celery >= 4.4.0"' ""
22 # This package has nothing to test or import.
26 description = "Pytest plugin to enable celery.contrib.pytest";
27 homepage = "https://github.com/celery/pytest-celery";
28 license = licenses.mit;