at 23.11-beta 46 lines 896 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, flask 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "flask-paginate"; 11 version = "2023.10.24"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "lixxu"; 18 repo = "flask-paginate"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-9633YLHMF9S1DLK7ZS4qmCOzslXdHLSgpKoJFNvkXlA="; 21 }; 22 23 propagatedBuildInputs = [ 24 flask 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "flask_paginate" 33 ]; 34 35 pytestFlagsArray = [ 36 "tests/tests.py" 37 ]; 38 39 meta = with lib; { 40 description = "Pagination support for Flask"; 41 homepage = "https://github.com/lixxu/flask-paginate"; 42 changelog = "https://github.com/lixxu/flask-paginate/releases/tag/v${version}"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ ]; 45 }; 46}