Patchwork gnu: Add ruby-bio-kseq.

login
register
mail settings
Submitter Ben Woodcroft
Date June 10, 2016, 9:48 a.m.
Message ID <1465552088-28413-1-git-send-email-donttrustben@gmail.com>
Download mbox | patch
Permalink /patch/12939/
State New
Headers show

Comments

Ben Woodcroft - June 10, 2016, 9:48 a.m.
* gnu/packages/bioinformatics.scm (ruby-bio-kseq): New variable.
---
 gnu/packages/bioinformatics.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
David Thompson - June 13, 2016, 1:33 p.m.
On Fri, Jun 10, 2016 at 5:48 AM, Ben Woodcroft <donttrustben@gmail.com> wrote:
> * gnu/packages/bioinformatics.scm (ruby-bio-kseq): New variable.

LGTM!

- Dave
Ben Woodcroft - June 13, 2016, 10:32 p.m.
On 13/06/16 23:33, Thompson, David wrote:
> On Fri, Jun 10, 2016 at 5:48 AM, Ben Woodcroft <donttrustben@gmail.com> wrote:
>> * gnu/packages/bioinformatics.scm (ruby-bio-kseq): New variable.
> LGTM!

Thanks Dave, pushed.

Patch

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 6a90aa9..90d577d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3926,6 +3926,34 @@  clusters.")
     (home-page "https://sourceforge.net/projects/pardre/")
     (license license:gpl3+)))
 
+(define-public ruby-bio-kseq
+  (package
+    (name "ruby-bio-kseq")
+    (version "0.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "bio-kseq" version))
+       (sha256
+        (base32
+         "1xyaha46khb5jc6wzkbf7040jagac49jbimn0vcrzid0j8jdikrz"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "spec"))
+    (native-inputs
+     `(("bundler" ,bundler)
+       ("ruby-rspec" ,ruby-rspec)
+       ("ruby-rake-compiler" ,ruby-rake-compiler)))
+    (inputs
+     `(("zlib" ,zlib)))
+    (synopsis "Ruby bindings for the kseq.h FASTA/Q parser")
+    (description
+     "@code{Bio::Kseq} provides ruby bindings to the @code{kseq.h} FASTA and
+FASTQ parsing code.  It provides a fast iterator over sequences and their
+quality scores.")
+    (home-page "https://github.com/gusevfe/bio-kseq")
+    (license license:expat)))
+
 (define-public bio-locus
   (package
     (name "bio-locus")