unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add ruby-bio-logger.
@ 2015-09-16  6:10 Pjotr Prins
  2015-09-16 16:02 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Pjotr Prins @ 2015-09-16  6:10 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/ruby.scm (ruby-bio-logger): New variable.
---
 gnu/packages/ruby.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e61332f..0cdc5e3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -445,6 +445,27 @@ configuration, and more.")
      (home-page "http://log4r.rubyforge.org/")
      (license license:bsd-3)))
 
+(define-public ruby-bio-logger
+  (package
+    (name "ruby-bio-logger")
+    (version "1.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "bio-logger" version))
+        (sha256
+          (base32
+            "02pylfy8nkdqzyzplvnhn1crzmfkj1zmi3qjhrj2f2imlxvycd28"))))
+    (build-system ruby-build-system)
+    (propagated-inputs `(("ruby-log4r" ,ruby-log4r)))
+    (arguments
+     '(#:tests? #f)) ; no test suite
+    (synopsis "Log4r wrapper for Ruby with extra features")
+    (description "Library with extra logging features on top of
+ruby-log4r (not specific to bioinformatics)")
+    (home-page "https://github.com/pjotrp/bioruby-logger-plugin")
+    (license license:expat)))
+
 (define-public ruby-atoulme-antwrap
   (package
     (name "ruby-atoulme-antwrap")
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add ruby-bio-logger.
  2015-09-16  6:10 [PATCH] gnu: Add ruby-bio-logger Pjotr Prins
@ 2015-09-16 16:02 ` Ricardo Wurmus
  2015-09-17  5:12   ` Pjotr Prins
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2015-09-16 16:02 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

Hi Pjotr,

> * gnu/packages/ruby.scm (ruby-bio-logger): New variable.

[...]
  
> +(define-public ruby-bio-logger
> +  (package
> +    (name "ruby-bio-logger")
> +    (version "1.0.1")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (rubygems-uri "bio-logger" version))
> +        (sha256
> +          (base32
> +            "02pylfy8nkdqzyzplvnhn1crzmfkj1zmi3qjhrj2f2imlxvycd28"))))

This opening quote of this string should be aligned with the “b” in
“base64”.  Likewise, the opening parenthesis of “(base32 ...)” should be
aligned with the “s” in “(sha256 ...)”, and “(origin” should be aligned
with the “s” of “(source”.

Are you using Emacs to indent?  In many cases you can just use ‘M-x
indent-sexp’.

> +    (build-system ruby-build-system)
> +    (propagated-inputs `(("ruby-log4r" ,ruby-log4r)))
> +    (arguments
> +     '(#:tests? #f)) ; no test suite
> +    (synopsis "Log4r wrapper for Ruby with extra features")
> +    (description "Library with extra logging features on top of
> +ruby-log4r (not specific to bioinformatics)")

This is not a complete description as it is not a full sentence.  A
minimal description might be

  “Bio-logger is a wrapper around Log4r adding extra logging features
such as x, y, and z.”

The README at the Github site is rather detailed; mentioning a few of
the added features in the description would be nice.

> +    (home-page "https://github.com/pjotrp/bioruby-logger-plugin")
> +    (license license:expat)))
> +
>  (define-public ruby-atoulme-antwrap
>    (package
>      (name "ruby-atoulme-antwrap")

~~ Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add ruby-bio-logger.
  2015-09-16 16:02 ` Ricardo Wurmus
@ 2015-09-17  5:12   ` Pjotr Prins
  2015-09-17 21:42     ` Thompson, David
  0 siblings, 1 reply; 4+ messages in thread
From: Pjotr Prins @ 2015-09-17  5:12 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1887 bytes --]

Hopefully OK now.

On Wed, Sep 16, 2015 at 06:02:59PM +0200, Ricardo Wurmus wrote:
> Hi Pjotr,
> 
> > * gnu/packages/ruby.scm (ruby-bio-logger): New variable.
> 
> [...]
>   
> > +(define-public ruby-bio-logger
> > +  (package
> > +    (name "ruby-bio-logger")
> > +    (version "1.0.1")
> > +    (source
> > +      (origin
> > +        (method url-fetch)
> > +        (uri (rubygems-uri "bio-logger" version))
> > +        (sha256
> > +          (base32
> > +            "02pylfy8nkdqzyzplvnhn1crzmfkj1zmi3qjhrj2f2imlxvycd28"))))
> 
> This opening quote of this string should be aligned with the “b” in
> “base64”.  Likewise, the opening parenthesis of “(base32 ...)” should be
> aligned with the “s” in “(sha256 ...)”, and “(origin” should be aligned
> with the “s” of “(source”.
> 
> Are you using Emacs to indent?  In many cases you can just use ‘M-x
> indent-sexp’.
> 
> > +    (build-system ruby-build-system)
> > +    (propagated-inputs `(("ruby-log4r" ,ruby-log4r)))
> > +    (arguments
> > +     '(#:tests? #f)) ; no test suite
> > +    (synopsis "Log4r wrapper for Ruby with extra features")
> > +    (description "Library with extra logging features on top of
> > +ruby-log4r (not specific to bioinformatics)")
> 
> This is not a complete description as it is not a full sentence.  A
> minimal description might be
> 
>   “Bio-logger is a wrapper around Log4r adding extra logging features
> such as x, y, and z.”
> 
> The README at the Github site is rather detailed; mentioning a few of
> the added features in the description would be nice.
> 
> > +    (home-page "https://github.com/pjotrp/bioruby-logger-plugin")
> > +    (license license:expat)))
> > +
> >  (define-public ruby-atoulme-antwrap
> >    (package
> >      (name "ruby-atoulme-antwrap")
> 
> ~~ Ricardo
> 

-- 

[-- Attachment #2: 0001-gnu-Add-ruby-bio-logger.patch --]
[-- Type: text/x-diff, Size: 1418 bytes --]

From 4acfc340705bd2a9e91f9b7a74ccf93a27185b17 Mon Sep 17 00:00:00 2001
Date: Wed, 16 Sep 2015 06:06:26 +0000
Subject: [PATCH] gnu: Add ruby-bio-logger.
To: guix-devel@gnu.org
From: Pjotr Prins <pjotr.public12@thebird.nl>

* gnu/packages/ruby.scm (ruby-bio-logger): New variable.
---
 gnu/packages/ruby.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7dc46b6..be44bed 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1147,3 +1147,22 @@ 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)))
+
+(define-public ruby-bio-logger
+  (package
+    (name "ruby-bio-logger")
+    (version "1.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "bio-logger" version))
+        (sha256
+         (base32
+          "02pylfy8nkdqzyzplvnhn1crzmfkj1zmi3qjhrj2f2imlxvycd28"))))
+    (build-system ruby-build-system)
+    (propagated-inputs `(("ruby-log4r" ,ruby-log4r)))
+    (synopsis "Log4r wrapper for Ruby")
+    (description "Bio-logger is a wrapper around Log4r adding extra
+logging features such as filtering and fine grained logging.")
+    (home-page "https://github.com/pjotrp/bioruby-logger-plugin")
+    (license license:expat)))
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add ruby-bio-logger.
  2015-09-17  5:12   ` Pjotr Prins
@ 2015-09-17 21:42     ` Thompson, David
  0 siblings, 0 replies; 4+ messages in thread
From: Thompson, David @ 2015-09-17 21:42 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

On Thu, Sep 17, 2015 at 1:12 AM, Pjotr Prins <pjotr.public12@thebird.nl> wrote:
> Hopefully OK now.

I had to disable tests for it to build properly, then I pushed it.

Thanks!

- Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-17 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-16  6:10 [PATCH] gnu: Add ruby-bio-logger Pjotr Prins
2015-09-16 16:02 ` Ricardo Wurmus
2015-09-17  5:12   ` Pjotr Prins
2015-09-17 21:42     ` Thompson, David

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).