Unverified Commit 0e535479 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #303545 from r-ryantm/auto-update/python312Packages.flask-paginate

python312Packages.flask-paginate: 2024.3.28 -> 2024.4.12
parents d08a75c2 d76ef7a0
Loading
Loading
Loading
Loading
+17 −21
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, pytestCheckHook
, pythonOlder
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flask,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "flask-paginate";
  version = "2024.3.28";
  format = "setuptools";
  version = "2024.4.12";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -17,24 +19,18 @@ buildPythonPackage rec {
    owner = "lixxu";
    repo = "flask-paginate";
    rev = "refs/tags/v${version}";
    hash = "sha256-HqjgmqRH83N+CbTnkkEJnuo+c+n5wLwdsPXyY2i5XRg=";
    hash = "sha256-YaAgl+iuoXB0eWVzhmNq2UTOpM/tHfDISIb9CyaXiuA=";
  };

  propagatedBuildInputs = [
    flask
  ];
  build-system = [ setuptools ];

  nativeCheckInputs = [
    pytestCheckHook
  ];
  dependencies = [ flask ];

  pythonImportsCheck = [
    "flask_paginate"
  ];
  nativeCheckInputs = [ pytestCheckHook ];

  pytestFlagsArray = [
    "tests/tests.py"
  ];
  pythonImportsCheck = [ "flask_paginate" ];

  pytestFlagsArray = [ "tests/tests.py" ];

  meta = with lib; {
    description = "Pagination support for Flask";