gnu: Add python-rcssmin.
authorEfraim Flashner <efraim@flashner.co.il>
Tue, 21 Jul 2020 09:01:05 +0000 (12:01 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Tue, 21 Jul 2020 09:10:03 +0000 (12:10 +0300)
* gnu/packages/python-xyz.scm (python-rcssmin): New variable.

gnu/packages/python-xyz.scm

index e16d3da..510729b 100644 (file)
@@ -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")