mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
33afbf39f6
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.
59 lines
1020 B
Nix
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 ];
|
|
};
|
|
}
|