diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-23 14:18:41 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 14:55:11 +0000 |
| commit | 4f57b0b3d84c4d98f7f39419750cd27d11929986 (patch) | |
| tree | a7b64c850d00269357f4fc295e3b5b3d70f2ed1f /gnu/packages/python-web.scm | |
| parent | 9cd7aafa520330ca4d17089340593bb1de28c59e (diff) | |
gnu: Add python-htmlmin2.
* gnu/packages/python-web.scm (python-htmlmin2): New variable.
Change-Id: I81a276437bb17545ae6f1289692ffdbb87e723eb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d614138a9e7..472bd17a3f2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7921,6 +7921,30 @@ specs from your Flask-Restful projects.") It comes with safe defaults and easily configurable options.") (license license:bsd-3))) +;; XXX: Forked renamed and updated version. +(define-public python-htmlmin2 + (package/inherit python-htmlmin + (name "python-htmlmin2") + (version "0.1.13") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wilhelmer/htmlmin") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1y7mcx8d451hwa1wrg2lffg7ccdy3w5m7xwb5xqp8h2852pypfh2")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) + (home-page "https://github.com/wilhelmer/htmlmin") + (description + "@code{htmlmin2} is an HTML minifier that just works. It comes with safe +defaults and easily configurable options. This variant is an updated fork of +the original @code{python-htmlmin}.") + (license license:bsd-3))) + (define-public python-flask-htmlmin (package (name "python-flask-htmlmin") |
