From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:42406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0vNU-0005rM-GU for guix-patches@gnu.org; Mon, 04 Mar 2019 16:44:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0vNS-0000lZ-QA for guix-patches@gnu.org; Mon, 04 Mar 2019 16:44:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0vNS-0000lD-JU for guix-patches@gnu.org; Mon, 04 Mar 2019 16:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h0vNS-00015L-DS for guix-patches@gnu.org; Mon, 04 Mar 2019 16:44:02 -0500 Subject: [bug#34650] [PATCH 6/7] gnu: Add ruby-skinny. Resent-Message-ID: References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-6-mail@ambrevar.xyz> From: Christopher Baines In-reply-to: <20190228174435.14499-6-mail@ambrevar.xyz> Date: Mon, 04 Mar 2019 21:43:09 +0000 Message-ID: <87h8cifh8y.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > * gnu/packages/ruby.scm (ruby-skinny): New variable. > --- > gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 9d3c4b246..8cb170e17 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -7783,3 +7783,34 @@ minimal effort.") > @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 > + ;; TODO: Grab from GitHub to get tests? > + `(#:tests? #f If there are no tests, I'd just put: '(#:tests? #f ; No included tests > + #:phases > + (modify-phases %standard-phases > + (add-before 'build 'patch-gemspec > + (lambda _ > + (substitute* ".gemspec" > + ((".freeze, \\[\\\"~> 1.0.0\"") > + ", [\">= 1.0.0\"") > + ((".freeze, \\[\\\"< 1.7\", ") ", ["))))))) Adding a explicit #t at the end of this phase. > + (propagated-inputs > + `(("ruby-eventmachine" ,ruby-eventmachine) > + ("ruby-thin" ,ruby-thin))) > + (synopsis "Simple, upgradable WebSockets for Ruby Thin") > + (description "Simple, upgradable WebSockets for Ruby Thin.") The synopsis and description are the same. Even if there is no more information to add, it would be good to at least provide a slightly different description. > + (home-page "https://github.com/sj26/skinny") > + (license license:expat))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx9m+1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfC9g/9EjFfXmOvHU+piHxHf+6n0EuwNrkdyCDFU01pqvtbfOGrxhpZPEkVOOMv h+peMMyDJxdTERrp+VxBsmeR7goldK/5y0DA8edgMjb3BvdDTtMXe4Zv2sLXS2D/ O3svgyBudKD1fb3K8WK6EepS3CkINQrWS51zey8qDU3KK5vl79HqflHasZl47EfD 9+6IkTLacrbaEgj8xAKo11VUVeiNHN6ETzKH4dPJ0MXQcSAlF0ipP2+wyeGOm1vc f7gMDvfcKl+2Qvy3q4E2mpfnW0GL69CqpdD31LRssr190vRzryQvMKT5GwkJ+/gC Vm3oF1IVFLRSmi0zq+g6/nryhc7aXpiOQYg0ouCvJA5k7F47cX7r5F94G2NdSOCH goCvbQ/xjdB388ccnr6vJPCdr2DP5+jxzHGRhVour/r47OoPKwWvy2dWXAg613pk ayXfsWtDmntCKdeh8pVNcIXOui7c6NBhtU4HKlbxBZzVYdf9rfluSUEnZM0Omaed g7V7qh+fEDZJTI77kbxSdfuPDlaOhlNf8/CUWAZjHgLEQWxWmQ22ibsNQ++TyHJP 7nQ/c8aVoSYk3kyabBFsC5tmQW7AKoNn4CnZOAYhkS4OM1zOgg/XSSmJLX5mN9qM /wz4chF+SY/nvFxo842DtObrrAU7v+ry6g5YtmC2G04IRMlmJSA= =ZXpj -----END PGP SIGNATURE----- --=-=-=--