python313Packages.celery-redbeat: 2.3.3 -> 2.8.1
Changelog: https://github.com/celery/django-celery-beat/releases/tag/v2.8.1
This commit is contained in:
@@ -1,44 +1,59 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
python-dateutil,
|
||||
celery,
|
||||
redis,
|
||||
tenacity,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
cron-descriptor,
|
||||
django-timezone-field,
|
||||
django,
|
||||
fakeredis,
|
||||
fetchFromGitHub,
|
||||
mock,
|
||||
pytestCheckHook,
|
||||
python-crontab,
|
||||
python-dateutil,
|
||||
pytz,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery-redbeat";
|
||||
version = "2.3.3";
|
||||
format = "setuptools";
|
||||
version = "2.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sibson";
|
||||
repo = "redbeat";
|
||||
owner = "celery";
|
||||
repo = "django-celery-beat";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-bptEAOVxuwj9Y7LyBhtMU22Z1uCiJ4O4BZT2ytqQI80=";
|
||||
hash = "sha256-pakOpch5r2ug0UDSqEU34qr4Tz1/mkuFiHW+IOUuGcc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
postPatch = ''
|
||||
# Hack the custom dependency resolution in setup.py to avoid pulling in pip
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "install_requires=reqs('default.txt') + reqs('runtime.txt')," "install_requires=[],"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
celery
|
||||
cron-descriptor
|
||||
django
|
||||
django-timezone-field
|
||||
python-crontab
|
||||
python-dateutil
|
||||
redis
|
||||
tenacity
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
fakeredis
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytz
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "redbeat" ];
|
||||
pythonImportsCheck = [ "django_celery_beat" ];
|
||||
|
||||
# Tests require additional work
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Database-backed Periodic Tasks";
|
||||
|
||||
Reference in New Issue
Block a user