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

main
Fabian Affolter 2 years ago committed by GitHub
parent ce97b1017a
commit 5e679251a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      pkgs/development/python-modules/django-celery-beat/default.nix

@ -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…
Cancel
Save