Merge pull request #247917 from elohmeier/celery-types

python3Packages.celery-types: init at 0.19.0
This commit is contained in:
Fabian Affolter 2023-08-08 21:31:40 +02:00 committed by GitHub
commit 76277c58ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ 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 ];
};
}

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 { };