Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
885 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, flask, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "flask-paginate"; version = "2024.4.12"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "lixxu"; repo = "flask-paginate"; tag = "v${version}"; hash = "sha256-YaAgl+iuoXB0eWVzhmNq2UTOpM/tHfDISIb9CyaXiuA="; };
build-system = [ setuptools ];
dependencies = [ flask ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "flask_paginate" ];
enabledTestPaths = [ "tests/tests.py" ];
meta = with lib; { 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 = [ ]; };}