mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
46 lines
913 B
Nix
46 lines
913 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|