python3Packages.celery-types: init at 0.19.0

This commit is contained in:
Enno Richter 2023-06-23 15:34:18 +02:00
parent 9331708da6
commit 173988fa9a
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, typing-extensions
}:
buildPythonPackage rec {
pname = "celery-types";
version = "0.19.0";
format = "pyproject";
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";
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -1739,6 +1739,8 @@ self: super: with self; {
celery-singleton = callPackage ../development/python-modules/celery-singleton { };
celery-types = callPackage ../development/python-modules/celery-types { };
cement = callPackage ../development/python-modules/cement { };
cemm = callPackage ../development/python-modules/cemm { };