diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2019-02-28 18:41:16 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2019-03-05 11:22:34 +0100 |
commit | be6016db4bb7caafe7d375d7a3a9908f08ce101a (patch) | |
tree | 5984f151042179fb720485b27f647db618c6b689 | |
parent | 6e87695ba45eb68edbc4026240c10c8b819fe18f (diff) | |
download | guix-be6016db4bb7caafe7d375d7a3a9908f08ce101a.tar.gz guix-be6016db4bb7caafe7d375d7a3a9908f08ce101a.zip |
gnu: Add ruby-skinny.
* gnu/packages/ruby.scm (ruby-skinny): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 2902a67878..0869a2a5c3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -8456,3 +8456,35 @@ and stability, @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))) |