mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add ruby-skinny.
* gnu/packages/ruby.scm (ruby-skinny): New variable.
This commit is contained in:
parent
6e87695ba4
commit
be6016db4b
1 changed files with 32 additions and 0 deletions
|
@ -8456,3 +8456,35 @@ (define-public ruby-thin
|
|||
@end itemize\n")
|
||||
(home-page "http://code.macournoyer.com/thin/")
|
||||
(license license:ruby)))
|
||||
|
||||
(define-public ruby-skinny
|
||||
(package
|
||||
(name "ruby-skinny")
|
||||
(version "0.2.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "skinny" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1y3yvx88ylgz4d2s1wskjk5rkmrcr15q3ibzp1q88qwzr5y493a9"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; No included tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'patch-gemspec
|
||||
(lambda _
|
||||
(substitute* ".gemspec"
|
||||
(("<eventmachine>.freeze, \\[\\\"~> 1.0.0\"")
|
||||
"<eventmachine>, [\">= 1.0.0\"")
|
||||
(("<thin>.freeze, \\[\\\"< 1.7\", ") "<thin>, ["))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("ruby-eventmachine" ,ruby-eventmachine)
|
||||
("ruby-thin" ,ruby-thin)))
|
||||
(synopsis "Simple, upgradable WebSockets for Ruby Thin")
|
||||
(description "Skinny is a simple, upgradable WebSockets for Ruby, using
|
||||
the Thin library.")
|
||||
(home-page "https://github.com/sj26/skinny")
|
||||
(license license:expat)))
|
||||
|
|
Loading…
Reference in a new issue