mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add ruby-liquid-c.
* gnu/packages/ruby.scm (ruby-liquid-c): New variable.
This commit is contained in:
parent
958f1ff68d
commit
1ca89c7f52
1 changed files with 34 additions and 0 deletions
|
@ -13524,6 +13524,40 @@ (define ruby-liquid-c-bootstrap
|
||||||
(home-page "https://github.com/shopify/liquid-c")
|
(home-page "https://github.com/shopify/liquid-c")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ruby-liquid-c
|
||||||
|
(package/inherit ruby-liquid-c-bootstrap
|
||||||
|
(name "ruby-liquid-c")
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
;; Only run the unit tests, because the test:integration target fails
|
||||||
|
;; with "File does not exist: test_helper" (see:
|
||||||
|
;; https://github.com/Shopify/liquid-c/issues/188).
|
||||||
|
#:test-target "test:unit"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'extract-gemspec 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Gemfile"
|
||||||
|
;; Do not attempt to fetch a gem from git.
|
||||||
|
(("git_source\\(:github) do \\|repo_name\\|")
|
||||||
|
"if false")
|
||||||
|
((", github: \"Shopify/liquid\", ref: \"master\"")
|
||||||
|
"")
|
||||||
|
;; Remove extraneous dependencies.
|
||||||
|
((".*byebug.*") "")
|
||||||
|
((".*rubocop.*") "")
|
||||||
|
;; Relax spy version specification.
|
||||||
|
(("gem \"spy\", \"0.4.1\"")
|
||||||
|
"gem \"spy\", \">= 0.4.1\"")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list ruby-benchmark-ips
|
||||||
|
ruby-rake-compiler
|
||||||
|
ruby-ruby-memcheck
|
||||||
|
ruby-spy
|
||||||
|
ruby-stackprof))
|
||||||
|
(propagated-inputs
|
||||||
|
(list ruby-liquid))))
|
||||||
|
|
||||||
(define-public ruby-localhost
|
(define-public ruby-localhost
|
||||||
(package
|
(package
|
||||||
(name "ruby-localhost")
|
(name "ruby-localhost")
|
||||||
|
|
Loading…
Reference in a new issue