python3Packages.fastapi-pagination: init at 0.15.12
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
fastapi,
|
||||
pydantic,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fastapi-pagination";
|
||||
version = "0.15.12";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uriyyo";
|
||||
repo = "fastapi-pagination";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-AzpNyTzlzPHkrx8BghZFHer3w+GpNIUYRo15rRRO0UY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
fastapi
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "fastapi_pagination" ];
|
||||
|
||||
# Tests require network access
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "FastAPI pagination";
|
||||
homepage = "https://github.com/uriyyo/fastapi-pagination";
|
||||
changelog = "https://github.com/uriyyo/fastapi-pagination/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
@@ -5421,6 +5421,8 @@ self: super: with self; {
|
||||
|
||||
fastapi-mcp = callPackage ../development/python-modules/fastapi-mcp { };
|
||||
|
||||
fastapi-pagination = callPackage ../development/python-modules/fastapi-pagination { };
|
||||
|
||||
fastapi-sso = callPackage ../development/python-modules/fastapi-sso { };
|
||||
|
||||
fastapi-versionizer = callPackage ../development/python-modules/fastapi-versionizer { };
|
||||
|
||||
Reference in New Issue
Block a user