guix-commits
[Top][All Lists]
Advanced

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

26/46: gnu: Add python-rcssmin.


From: guix-commits
Subject: 26/46: gnu: Add python-rcssmin.
Date: Tue, 21 Jul 2020 08:49:42 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit bdcb84578d1ea94523dbca10fb6f8c136fac60f1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 12:01:05 2020 +0300

    gnu: Add python-rcssmin.
    
    * gnu/packages/python-xyz.scm (python-rcssmin): New variable.
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e16d3da..510729b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13545,6 +13545,30 @@ network.")
 (define-public python2-argcomplete
   (package-with-python2 python-argcomplete))
 
+(define-public python-rcssmin
+  (package
+    (name "python-rcssmin")
+    (version "1.0.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "rcssmin" version))
+        (sha256
+         (base32
+          "0w42l4dhxghcz7pj3q7hkxp015mvb8z2cq9sfxbl31npsfavd1ya"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "python" "run_tests.py" "tests"))))))
+    (home-page "http://opensource.perlig.de/rcssmin/";)
+    (synopsis "CSS Minifier")
+    (description "The minifier is based on the semantics of the YUI compressor,
+which itself is based on the rule list by Isaac Schlueter.")
+    (license license:asl2.0)))
+
 (define-public python-rjsmin
   (package
     (name "python-rjsmin")



reply via email to

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