summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-05-29 14:08:55 +0200
committerMarius Bakke <marius@gnu.org>2020-05-29 15:41:29 +0200
commita84a185abda610e6ebfb5601385bfdc09cd42c55 (patch)
treea201f75edf1e666a8f602d24dfec7f8d5f5350ac
parent075afce25eb1de1710bd3f93bd42b49343af4222 (diff)
downloadguix-a84a185abda610e6ebfb5601385bfdc09cd42c55.tar.gz
gnu: ruby-crass: Update to 1.0.6.
* gnu/packages/ruby.scm (ruby-crass): Update to 1.0.6.
[source]: Switch to GIT-FETCH.
[native-inputs]: Remove.
-rw-r--r--gnu/packages/ruby.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6e6add928d..fdba903cbb 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5269,21 +5269,22 @@ multibyte strings, internationalization, time zones, and testing.")
 (define-public ruby-crass
   (package
     (name "ruby-crass")
-    (version "1.0.4")
+    (version "1.0.6")
+    (home-page "https://github.com/rgrove/crass")
     (source (origin
-              (method url-fetch)
-              (uri (rubygems-uri "crass" version))
+              ;; The gem does not contain tests, so pull from git.
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0bpxzy6gjw9ggjynlxschbfsgmx8lv3zw1azkjvnb8b9i895dqfi"))))
+                "1gbsb81psgb6xhnwpx4s409jc0mk0gijh039sy5xyi8jpaaadp40"))))
     (build-system ruby-build-system)
-    (native-inputs
-     `(("bundler" ,bundler)
-       ("ruby-minitest" ,ruby-minitest)))
     (synopsis "Pure Ruby CSS parser")
     (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-nokogumbo