python3Packages.django-recurrence: init at 1.14 (#500987)

This commit is contained in:
dotlambda 2026-03-24 05:04:09 +00:00 committed by GitHub
commit 52e8b82978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{
buildPythonPackage,
django,
fetchFromGitHub,
lib,
python-dateutil,
pytest-django,
pytestCheckHook,
pytest-cov-stub,
pdm-backend,
}:
buildPythonPackage (finalAttrs: {
pname = "django-recurrence";
version = "1.14";
pyproject = true;
src = fetchFromGitHub {
owner = "jazzband";
repo = "django-recurrence";
tag = finalAttrs.version;
hash = "sha256-Hw9QebQuQfhooa6rhJ1+y7DTgPgaVF9kZzQ9H7NshmM=";
};
build-system = [
pdm-backend
];
dependencies = [
django
python-dateutil
];
pythonImportsCheck = [ "recurrence" ];
nativeCheckInputs = [
pytest-django
pytest-cov-stub
pytestCheckHook
];
meta = {
description = "Utility for working with recurring dates in Django";
homepage = "https://github.com/jazzband/django-recurrence";
changelog = "https://github.com/jazzband/django-recurrence/blob/${finalAttrs.src.tag}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ kurogeek ];
};
})

View file

@ -4330,6 +4330,8 @@ self: super: with self; {
django-ratelimit = callPackage ../development/python-modules/django-ratelimit { };
django-recurrence = callPackage ../development/python-modules/django-recurrence { };
django-redis = callPackage ../development/python-modules/django-redis { };
django-registration = callPackage ../development/python-modules/django-registration { };