mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: ruby-sinatra: Update to 2.0.8.1.
* gnu/packages/ruby.scm (ruby-sinatra): Update to 2.0.8.1. [phases]{fix-slow-doc-generation}: Add phase.
This commit is contained in:
parent
7eb8ff0b21
commit
7af929249d
1 changed files with 12 additions and 2 deletions
|
@ -9961,15 +9961,25 @@ (define-public ruby-htmlentities
|
||||||
(define-public ruby-sinatra
|
(define-public ruby-sinatra
|
||||||
(package
|
(package
|
||||||
(name "ruby-sinatra")
|
(name "ruby-sinatra")
|
||||||
(version "2.0.5")
|
(version "2.0.8.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (rubygems-uri "sinatra" version))
|
(uri (rubygems-uri "sinatra" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1gasgn5f15myv08k10i16p326pchxjsy37pgqfw0xm66kcc5d7ry"))))
|
"0riy3hwjab1mr73jcqx3brmbmwspnw3d193j06a5f0fy1w35z15q"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; See: https://github.com/sinatra/sinatra/issues/1578.
|
||||||
|
(add-after 'extract-gemspec 'fix-slow-doc-generation
|
||||||
|
(lambda _
|
||||||
|
(substitute* "sinatra.gemspec"
|
||||||
|
(("\"README.rdoc\"\\.freeze," all)
|
||||||
|
(string-append all " \"--exclude=.*\\.md\".freeze,")))
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ruby-mustermann" ,ruby-mustermann)
|
`(("ruby-mustermann" ,ruby-mustermann)
|
||||||
("ruby-rack" ,ruby-rack)
|
("ruby-rack" ,ruby-rack)
|
||||||
|
|
Loading…
Reference in a new issue