depot/third_party/nixpkgs/pkgs/development/python-modules/django-celery-beat/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

58 lines
1,020 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, python-crontab
, celery
, django-timezone-field
, tzdata
, ephem
, pytest-timeout
, pytest-django
, case
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "django-celery-beat";
version = "2.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-WO/pRg5Dc6JBwrPYOVGPKaKK4ZvICo26INogTH6lBhM=";
};
propagatedBuildInputs = [
python-crontab
celery
django-timezone-field
tzdata
];
nativeCheckInputs = [
ephem
pytest-timeout
pytest-django
case
pytestCheckHook
];
disabledTestPaths = [
# Connection error
"t/unit/test_schedulers.py"
];
pythonImportsCheck = [
"django_celery_beat"
];
meta = with lib; {
description = "Celery Periodic Tasks backed by the Django ORM";
homepage = "https://github.com/celery/django-celery-beat";
license = licenses.bsd3;
maintainers = with maintainers; [ onny ];
};
}