From 2d877f6ef3f59e152ae37d72ce150a442baeb7eb Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 13 Jul 2020 09:35:52 -0400 Subject: [PATCH] gnu: Add ruby-css-parser. * gnu/packages/ruby.scm (ruby-css-parser): New variable. --- gnu/packages/ruby.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6a0ddd6719..c362500e8b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1191,6 +1191,27 @@ (define-public ruby-prawn-icon (home-page "https://github.com/jessedoyle/prawn-icon/") (license %prawn-project-licenses))) +(define-public ruby-css-parser + (package + (name "ruby-css-parser") + (version "1.7.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "css_parser" version)) + (sha256 + (base32 + "04c4dl8cm5rjr50k9qa6yl9r05fk9zcb1zxh0y0cdahxlsgcydfw")))) + (build-system ruby-build-system) + (arguments `(#:tests? #f)) ;gem doesn't ship with test suite + (propagated-inputs + `(("ruby-addressable" ,ruby-addressable))) + (synopsis "Ruby Cascading Style Sheets (CSS) parser") + (description "This package allows loading, parsing and cascading Cascading +Style Sheets (CSS) rule sets in Ruby.") + (home-page "https://github.com/premailer/css_parser") + (license license:expat))) + (define-public ruby-ast (package (name "ruby-ast")