nixpkgs/pkgs/development/python-modules/django-celery-beat/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

59 lines
1020 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 ];
};
}