mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 13:35:13 +00:00
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-timeout
|
||||||
, pytest-django
|
, pytest-django
|
||||||
, case
|
, case
|
||||||
, pytestCheckHook }:
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-celery-beat";
|
pname = "django-celery-beat";
|
||||||
version = "2.4.0";
|
version = "2.4.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-WO/pRg5Dc6JBwrPYOVGPKaKK4ZvICo26INogTH6lBhM=";
|
hash = "sha256-WO/pRg5Dc6JBwrPYOVGPKaKK4ZvICo26INogTH6lBhM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -40,7 +45,9 @@ buildPythonPackage rec {
|
|||||||
"t/unit/test_schedulers.py"
|
"t/unit/test_schedulers.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "django_celery_beat" ];
|
pythonImportsCheck = [
|
||||||
|
"django_celery_beat"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Celery Periodic Tasks backed by the Django ORM";
|
description = "Celery Periodic Tasks backed by the Django ORM";
|
||||||
|
Loading…
Reference in New Issue
Block a user