Update aider (#375634)
[NixPkgs.git] / pkgs / development / python-modules / flask-paginate / default.nix
blobc57767df0f59624ec211da9d110f9a2fa9bf1ce0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flask,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "flask-paginate";
13   version = "2024.4.12";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "lixxu";
20     repo = "flask-paginate";
21     tag = "v${version}";
22     hash = "sha256-YaAgl+iuoXB0eWVzhmNq2UTOpM/tHfDISIb9CyaXiuA=";
23   };
25   build-system = [ setuptools ];
27   dependencies = [ flask ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "flask_paginate" ];
33   pytestFlagsArray = [ "tests/tests.py" ];
35   meta = with lib; {
36     description = "Pagination support for Flask";
37     homepage = "https://github.com/lixxu/flask-paginate";
38     changelog = "https://github.com/lixxu/flask-paginate/releases/tag/v${version}";
39     license = licenses.bsd3;
40     maintainers = [ ];
41   };