summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorFelix Gruber <felgru@posteo.net>2025-12-29 22:46:25 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:23:42 +0100
commitcc0f8c7ea78c3227dc8054c497f327cd0a99ecce (patch)
tree36b1d164f187b96a6e7cfbf3619ddd32860023e3 /gnu/packages
parente0d72d83c3ebf02197f604061d95268bf21f6dcc (diff)
gnu: Add python-flask-paginate.
* gnu/packages/python-web.scm (python-flask-paginate): New variable. Change-Id: I38eefde359691ce5856bd979e8b7821f83ca3a86 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b02fe73406d..a234e442363 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1062,6 +1062,35 @@ to anything else.")
fort ok https://github.com/thadeusb/flask-cache.")
(license license:bsd-3)))
+(define-public python-flask-paginate
+ (package
+ (name "python-flask-paginate")
+ (version "2024.4.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lixxu/flask-paginate")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q4ajwk0pzc6934g07gdryjcwi6rd9iqcwv5g5s718dfx2bj1831"))))
+ (arguments
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "tests/tests.py")))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-flask))
+ (home-page "https://github.com/lixxu/flask-paginate")
+ (synopsis "Simple paginate support for Flask")
+ (description
+ "Flask-paginate is a simple pagination extension for Flask which is
+inspired by Ruby's will_paginate library. It supports several CSS frameworks.")
+ (license license:bsd-3)))
+
(define-public python-gdown
(package
(name "python-gdown")