{ lib , buildPythonPackage , fetchPypi , poetry-core , pythonOlder , typing-extensions }: buildPythonPackage rec { pname = "celery-types"; version = "0.19.0"; format = "pyproject"; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; hash = "sha256-1OLUJxsuxG/sCKDxKiU4i7o5HyaJdIW8rPo8UofMI28="; }; patchPhase = '' substituteInPlace pyproject.toml \ --replace "poetry.masonry.api" "poetry.core.masonry.api" ''; propagatedBuildInputs = [ typing-extensions ]; nativeBuildInputs = [ poetry-core ]; doCheck = false; meta = with lib; { description = "PEP-484 stubs for Celery"; homepage = "https://github.com/sbdchd/celery-types"; license = licenses.mit; maintainers = with maintainers; [ elohmeier ]; }; }