Subject: [PATCH 1/3] gnu: Add python-htmlmin

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

I have been thinking to package pgAdmin4

I gave up soon, too many deps

But these 3 are the ones I had already packaged

So I submit them anyway

There's no point in throwing them away
From a7a97e38bffeb99bce0963633550955529e9d5c8 Mon Sep 17 00:00:00 2001
From: humanitiesNerd <[email-masked]>
Date: Sun, 12 Mar 2017 10:44:26 +0100
Subject: [PATCH 1/3] gnu: Add python-htmlmin

* gnu/packages/python.scm (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 ee785c26e..c7b7a7689 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13598,3 +13598,24 @@ The distinctive feature of this B-tree is that a node is never
 copy-on-write.  This makes it easy to clone a tree, and modify only the
 clone, while other processes access the original tree.")
     (license license:gpl3+)))
+
+(define-public python-htmlmin
+  (package
+    (name "python-htmlmin")
+    (version "0.1.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "htmlmin" version))
+       (sha256
+        (base32
+         "0qxa93j3p1ak32qh8d9kshqv8v3z0hkc13dwbhp5cn7sn3xmsp6a"))))
+    (arguments
+     `(#:tests? #f)) ;htmlmin has no tests
+    (build-system python-build-system)
+    (home-page
+     "https://htmlmin.readthedocs.org/en/latest/")
+    (synopsis "Htmlmin is an HTML Minifier")
+    (description "An HTML minifier that just works.
+It comes with safe defaults and an easily configurable set options.")
+    (license license:bsd-3)))
-- 
2.12.0