summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 15:52:38 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:38:00 +0000
commitd7f9f8874856ae55f3c265c993a53ab090d5f317 (patch)
tree6ed23a3f7418c9f6f1e9ecce891ff432b80f3d07
parent6188d6430d66152c612905ab88f1eec8b29b9891 (diff)
downloadguix-d7f9f8874856ae55f3c265c993a53ab090d5f317.tar.gz
gnu: Add ruby-crass.
Required for upgrading ruby-loofah.

* gnu/packages/ruby.scm (ruby-crass): New variable.
-rw-r--r--gnu/packages/ruby.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1b170f2afe..7a7f413f8d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -939,6 +939,24 @@ code in Merb and Rails.")
     (home-page "https://github.com/jnunemaker/crack")
     (license license:expat)))
 
+(define-public ruby-crass
+  (package
+    (name "ruby-crass")
+    (version "1.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "crass" version))
+       (sha256
+        (base32
+         "0bpxzy6gjw9ggjynlxschbfsgmx8lv3zw1azkjvnb8b9i895dqfi"))))
+    (build-system ruby-build-system)
+    (synopsis "Pure Ruby CSS parser based on CSS Syntax Level 3")
+    (description
+     "Crass is a pure Ruby CSS parser based on the CSS Syntax Level 3 spec.")
+    (home-page "https://github.com/rgrove/crass/")
+    (license license:expat)))
+
 (define-public ruby-cliver
   (package
     (name "ruby-cliver")