python310Packages.django-celery-beat: disable on older Python releases
This commit is contained in:
parent
ce97b1017a
commit
5e679251a9
@ -9,15 +9,20 @@
|
||||
, pytest-timeout
|
||||
, pytest-django
|
||||
, case
|
||||
, pytestCheckHook }:
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-celery-beat";
|
||||
version = "2.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-WO/pRg5Dc6JBwrPYOVGPKaKK4ZvICo26INogTH6lBhM=";
|
||||
hash = "sha256-WO/pRg5Dc6JBwrPYOVGPKaKK4ZvICo26INogTH6lBhM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -40,7 +45,9 @@ buildPythonPackage rec {
|
||||
"t/unit/test_schedulers.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "django_celery_beat" ];
|
||||
pythonImportsCheck = [
|
||||
"django_celery_beat"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Celery Periodic Tasks backed by the Django ORM";
|
||||
|
Loading…
Reference in New Issue
Block a user