Subject: Re: bug#26074: [PATCH 1/3] gnu: Add python-htmlmin

From: Catonano <[email-masked]>
Date: Sun, 12 Mar 2017 15:37:44 +0100

This is the second one

The package in this depends on the package in the previous one
From 5b183e9944dffcef527d00707ec1f8dc37be3bc1 Mon Sep 17 00:00:00 2001
From: humanitiesNerd <[email-masked]>
Date: Sun, 12 Mar 2017 10:47:29 +0100
Subject: [PATCH 2/3] gnu: Add python-flask-htmlmin

* gnu/packages/python (python-flask-htmlmin): New variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c7b7a7689..8b50b2909 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13619,3 +13619,24 @@ clone, while other processes access the original tree.")
     (description "An HTML minifier that just works.
 It comes with safe defaults and an easily configurable set options.")
     (license license:bsd-3)))
+
+(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
+     `(("flask" ,python-flask)
+       ("htmlmin" ,python-htmlmin)))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/hamidfzm/Flask-HTMLmin")
+    (synopsis "Add the capability to minify responses while using Flask")
+    (description "This package implements minification support for Flask responses.")
+    (license license:bsd-3)))
-- 
2.12.0