gnu: Add python-flask-htmlmin.

* gnu/packages/python.scm (python-flask-htmlmin, python2-flask-htmlmin): New
variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
humanitiesNerd 2017-03-12 20:46:38 +01:00 committed by Marius Bakke
parent 35db2d3cb7
commit 78c5566365
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 24 additions and 0 deletions

View File

@ -13622,3 +13622,27 @@ It comes with safe defaults and easily configurable options.")
(define-public python2-htmlmin (define-public python2-htmlmin
(package-with-python2 python-htmlmin)) (package-with-python2 python-htmlmin))
(define-public python-flask-htmlmin
(package
(name "python-flask-htmlmin")
(version "1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Flask-HTMLmin" version))
(sha256
(base32
"1n6zlq72kakkw0z2jpq6nh74lfsmxybm4g053pwhc14fbr809348"))))
(propagated-inputs
`(("python-flask" ,python-flask)
("python-htmlmin" ,python-htmlmin)))
(build-system python-build-system)
(home-page "https://github.com/hamidfzm/Flask-HTMLmin")
(synopsis "HTML response minifier for Flask")
(description
"Minify @code{text/html} MIME type responses when using @code{Flask}.")
(license license:bsd-3)))
(define-public python2-flask-htmlmin
(package-with-python2 python-flask-htmlmin))