python310Packages.django-celery-beat: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-10-19 19:02:51 +02:00 committed by GitHub
parent ce97b1017a
commit 5e679251a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";