mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.django-recurrence: init at 1.14 (#500987)
This commit is contained in:
commit
52e8b82978
2 changed files with 50 additions and 0 deletions
|
|
@ -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 ];
|
||||
};
|
||||
})
|
||||
|
|
@ -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 { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue