From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: [PATCH 1/2] gnu: Add ruby-docile. Date: Sat, 19 Sep 2015 08:37:56 -0400 Message-ID: References: <55f8ead0.Z1d0B3i+1iokByoa%pjotr.public12@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdHOz-0003rX-3V for guix-devel@gnu.org; Sat, 19 Sep 2015 08:38:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdHOv-0007hh-Sy for guix-devel@gnu.org; Sat, 19 Sep 2015 08:38:01 -0400 Received: from mail-yk0-f181.google.com ([209.85.160.181]:36839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdHOv-0007hU-Ow for guix-devel@gnu.org; Sat, 19 Sep 2015 08:37:57 -0400 Received: by ykdt18 with SMTP id t18so68526434ykd.3 for ; Sat, 19 Sep 2015 05:37:56 -0700 (PDT) In-Reply-To: <55f8ead0.Z1d0B3i+1iokByoa%pjotr.public12@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel On Wed, Sep 16, 2015 at 12:06 AM, Pjotr Prins wrote: > * gnu/packages/ruby.scm (ruby-docile): New variable. > --- > gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 7dc46b6..539b00b 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -1125,6 +1125,28 @@ into a single method call.") > (home-page "http://rack.github.io/") > (license license:expat))) > > +(define-public ruby-docile > + (package > + (name "ruby-docile") > + (version "1.1.5") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "docile" version)) > + (sha256 > + (base32 > + "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx")))) > + (build-system ruby-build-system) > + (arguments > + '(#:tests? #f)) ; needs github-markup, among others > + (synopsis "Docile turns any Ruby object into a DSL") > + (description "Turn any Ruby object into a DSL. Especially useful > +with the Builder pattern. Docile is a small, self-contained Ruby > +library, that let's you map a DSL (domain specific language) to your > +Ruby objects in a snap.") A lot of times, the upstream description of software reads like an advertisement or doesn't well define their terms, so we need to come up with an appropriate description ourselves. I changed the synopsis and description as follows: (synopsis "Ruby EDSL helper library") (description "Docile is a Ruby library that provides an interface for creating embedded domain specific languages (EDSLs) that manipulate existing Ruby classes.") > + (home-page "https://ms-ati.github.io/docile/") > + (license license:expat))) > + > (define-public ruby-gherkin3 > (package > (name "ruby-gherkin3") > @@ -1147,3 +1169,4 @@ It is intended to replace Gherkin 2 and be used by all Cucumber > implementations to parse '.feature' files.") > (home-page "https://github.com/cucumber/gherkin3") > (license license:expat))) > + I removed this extraneous whitespace change. > -- > 2.4.3 > > Pushed. Thanks. - Dave