python3Packages.django-apscheduler: init at 0.7.0 (#358890)

This commit is contained in:
Yt 2024-11-28 02:51:31 -05:00 committed by GitHub
commit 5945901935
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
# dependencies
django_5,
apscheduler,
# tests
pytestCheckHook,
pytest-django,
}:
buildPythonPackage rec {
pname = "django-apscheduler";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jcass77";
repo = "django-apscheduler";
rev = "v${version}";
hash = "sha256-2YSVX4FxE1OfJkSYV9IRKd2scV4BrMA/mBzJARQCX38=";
};
build-system = [
setuptools
wheel
];
dependencies = [
django_5
apscheduler
];
nativeCheckInputs = [
pytestCheckHook
pytest-django
];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
pythonImportsCheck = [
"django_apscheduler"
];
meta = {
description = "APScheduler for Django";
homepage = "https://github.com/jcass77/django-apscheduler";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ happysalada ];
};
}

View File

@ -3352,6 +3352,8 @@ self: super: with self; {
django-app-helper = callPackage ../development/python-modules/django-app-helper { };
django-apscheduler = callPackage ../development/python-modules/django-apscheduler { };
django-auditlog = callPackage ../development/python-modules/django-auditlog { };
django-auth-ldap = callPackage ../development/python-modules/django-auth-ldap { };