Merge pull request #260986 from r-ryantm/auto-update/python310Packages.flask-paginate

python310Packages.flask-paginate: 2022.1.8 -> 2023.10.8
This commit is contained in:
Fabian Affolter 2023-10-15 09:04:16 +02:00 committed by GitHub
commit 47fd34eb35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,45 @@
{ lib, buildPythonPackage, fetchPypi, flask }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "flask-paginate";
version = "2022.1.8";
version = "2023.10.8";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "a32996ec07ca004c45b768b0d50829728ab8f3986c0650ef538e42852c7aeba2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "lixxu";
repo = "flask-paginate";
rev = "refs/tags/v${version}";
hash = "sha256-QXXuXwMY3CwSv1P5zDK6q/LZfh96/BL3fbdbg53BJ6o=";
};
propagatedBuildInputs = [ flask ];
propagatedBuildInputs = [
flask
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"flask_paginate"
];
pytestFlagsArray = [
"tests/tests.py"
];
meta = with lib; {
homepage = "https://github.com/lixxu/flask-paginate";
description = "Pagination support for Flask";
homepage = "https://github.com/lixxu/flask-paginate";
changelog = "https://github.com/lixxu/flask-paginate/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};