mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: Add ruby-sassc-rails.
* gnu/packages/rails.scm (ruby-sassc-rails): New variable.
This commit is contained in:
parent
ddb3eb03e4
commit
6f0483964c
1 changed files with 29 additions and 0 deletions
|
@ -1174,6 +1174,35 @@ (define (touch file-name)
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue