Files
nixpkgs/pkgs/development/python-modules/flask-paginate/default.nix
2026-04-20 00:28:40 +02:00

40 lines
863 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flask,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "flask-paginate";
version = "2024.4.12";
pyproject = true;
src = fetchFromGitHub {
owner = "lixxu";
repo = "flask-paginate";
tag = "v${finalAttrs.version}";
hash = "sha256-YaAgl+iuoXB0eWVzhmNq2UTOpM/tHfDISIb9CyaXiuA=";
};
build-system = [ setuptools ];
dependencies = [ flask ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "flask_paginate" ];
enabledTestPaths = [ "tests/tests.py" ];
meta = {
description = "Pagination support for Flask";
homepage = "https://github.com/lixxu/flask-paginate";
changelog = "https://github.com/lixxu/flask-paginate/releases/tag/v${finalAttrs.version}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
})