diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-16 15:48:13 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:48 -0400 |
commit | 6f0483964ce04ff54e8d02f0e3af5284528c5595 (patch) | |
tree | 15475da75fdc6b9b7c519042d5426e0696875c90 /gnu | |
parent | ddb3eb03e40b28f14979f71254970bf53a7f82b7 (diff) | |
download | guix-6f0483964ce04ff54e8d02f0e3af5284528c5595.tar guix-6f0483964ce04ff54e8d02f0e3af5284528c5595.tar.gz |
gnu: Add ruby-sassc-rails.
* gnu/packages/rails.scm (ruby-sassc-rails): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/rails.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 15f10f9181..34db6825be 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -1174,6 +1174,35 @@ handling application bootup, plugins, generators, and Rake tasks.") (home-page "https://rubyonrails.org") (license license:expat))) +(define-public ruby-sassc-rails + (package + (name "ruby-sassc-rails") + (version "2.1.2") + (source (origin + (method url-fetch) + (uri (rubygems-uri "sassc-rails" version)) + (sha256 + (base32 + "1d9djmwn36a5m8a83bpycs48g8kh1n2xkyvghn7dr6zwh4wdyksz")))) + (build-system ruby-build-system) + ;; The test suite currently fails with multiple "FrozenError: can't modify + ;; frozen Array: []" errors, apparently caused by Rails 7 (see: + ;; https://github.com/sass/sassc-rails/pull/178/files). + (arguments (list #:tests? #f + #:phases #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'relax-requirements + (lambda _ + (substitute* "sassc-rails.gemspec" + (("%q<rake>.freeze, \\[\"~> 10.0\"]") + "%q<rake>.freeze, [\">= 10.0\"]"))))))) + (native-inputs (list ruby-mocha ruby-pry ruby-tzinfo-data)) + (propagated-inputs (list ruby-railties ruby-sassc ruby-sprockets + ruby-sprockets-rails ruby-tilt)) + (synopsis "SassC-Ruby integration with Rails") + (description "This Ruby library integrates SassC-Ruby into Rails.") + (home-page "https://github.com/sass/sassc-rails") + (license license:expat))) + (define-public ruby-sprockets (package (name "ruby-sprockets") |