guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add python-htmlmin.


From: Marius Bakke
Subject: 01/03: gnu: Add python-htmlmin.
Date: Mon, 13 Mar 2017 14:50:19 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 35db2d3cb766401fa90041cd3ec8248dcbd8d3b5
Author: humanitiesNerd <address@hidden>
Date:   Sun Mar 12 20:44:47 2017 +0100

    gnu: Add python-htmlmin.
    
    * gnu/packages/python.scm (python-htmlmin, python2-htmlmin): New variables.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ee785c2..d77014d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2016, 2017 Thomas Danckaert <address@hidden>
 ;;; Copyright © 2017 Carlo Zancanaro <address@hidden>
 ;;; Copyright © 2017 Frederick M. Muriithi <address@hidden>
+;;; Copyright © 2017 humanitiesNerd <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -13598,3 +13599,26 @@ 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 "HTML minifier")
+    (description "@code{htmlmin} is an HTML minifier that just works.
+It comes with safe defaults and easily configurable options.")
+    (license license:bsd-3)))
+
+(define-public python2-htmlmin
+  (package-with-python2 python-htmlmin))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]