Unverified Commit 9fcf26cd authored by Defelo's avatar Defelo
Browse files

python313Packages.django-ninja-cursor-pagination: init at 0.1.0

parent 435ae2c4
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatch-vcs,
  hatchling,
  django,
  django-ninja,
  pytestCheckHook,
  pytest-django,
}:

buildPythonPackage {
  pname = "django-ninja-cursor-pagination";
  version = "0.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "kitware-resonant";
    repo = "django-ninja-cursor-pagination";
    rev = "2cc22187885b9a12956530a00e554c7a6012de63";
    hash = "sha256-uZ+l/s70A8UG/HlSLIXW4r2WFM0Jj1Ep7fGoNdH9P5M=";
  };

  build-system = [
    hatch-vcs
    hatchling
  ];

  dependencies = [
    django
    django-ninja
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-django
  ];

  meta = {
    description = "Django Ninja extension for cursor-based pagination";
    homepage = "https://github.com/kitware-resonant/django-ninja-cursor-pagination";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ defelo ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -3831,6 +3831,10 @@ self: super: with self; {
  django-ninja = callPackage ../development/python-modules/django-ninja { };
  django-ninja-cursor-pagination =
    callPackage ../development/python-modules/django-ninja-cursor-pagination
      { };
  django-oauth-toolkit = callPackage ../development/python-modules/django-oauth-toolkit { };
  django-organizations = callPackage ../development/python-modules/django-organizations { };