Unverified Commit 52e8b829 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

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

parents fdd2f757 1d357c8f
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -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 { };