mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
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:
commit
47fd34eb35
@ -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; [ ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user