unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Roel Janssen <roel@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] Add vcflib.
Date: Mon, 16 Jan 2017 22:59:57 +0100	[thread overview]
Message-ID: <87shoi8y3m.fsf@mdc-berlin.de> (raw)
In-Reply-To: <87d1pcxoob.fsf@gnu.org>


Roel Janssen <roel@gnu.org> writes:

> From 5cc17f0ceca12998a658dcd3cfd7494b137274e1 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Tue, 26 Apr 2016 19:28:54 +0200
> Subject: [PATCH] gnu: Add tabixpp.
>
> * gnu/packages/bioinformatics.scm (tabixpp): New variable.
> ---
>  gnu/packages/bioinformatics.scm | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>
> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
> index 620439f..450d250 100644
> --- a/gnu/packages/bioinformatics.scm
> +++ b/gnu/packages/bioinformatics.scm
> @@ -5102,3 +5102,37 @@ group or two ChIP groups run under different conditions.")
>        (description "This program compares version strings.  It intends to be a
>  replacement for strverscmp.")
>        (license license:gpl3+))))
> +
> +(define-public tabixpp
> +  (package
> +   (name "tabixpp")
> +   (version "1.0.0")
> +   (source (origin
> +     (method url-fetch)
> +     (uri (string-append "https://github.com/ekg/tabixpp/archive/v"
> +                         version ".tar.gz"))
> +     (file-name (string-append name "-" version ".tar.gz"))
> +     (sha256
> +      (base32 "1s0lgks7qlvlhvcjhi2wm18nnza1bwcnic44ij7z8wfg88h4ivwn"))))
> +   (build-system gnu-build-system)
> +   (arguments
> +    `(#:tests? #f ; There are no tests to run.
> +      #:make-flags (let ((htslib-ref (assoc-ref %build-inputs "htslib")))
> +                    `("HTS_HEADERS=" ; Do not check for local htslib headers.
> +                      ,(string-append "HTS_LIB=" htslib-ref "/lib/libhts.a")
> +                      ,(string-append "LIBPATH=-L. -L" htslib-ref "/include")))
> +      #:phases
> +      (modify-phases %standard-phases
> +        (delete 'configure) ; There is no configure phase.
> +        (replace 'install
> +          (lambda* (#:key outputs #:allow-other-keys)
> +            (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
> +              (install-file "tabix" bin)))))))
> +   (inputs
> +    `(("htslib" ,htslib)
> +      ("zlib" ,zlib)))
> +   (home-page "https://github.com/ekg/tabixpp")
> +   (synopsis "C++ wrapper around Tabix project")
> +   (description "This is a C++ wrapper around the Tabix project which abstracts
> +some of the details of opening and jumping in Tabix-indexed files.")
> +   (license license:expat)))

One more from the bottom of my inbox at work…  (I haven’t even started
looking at my private inbox.)

Please add “#t” to the end of the “install” phase and adjust the
indentation of the make-flags.  The rest looks good.

Thanks!

--
Ricardo

  reply	other threads:[~2017-01-16 22:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-22 15:24 [PATCH] Add vcflib Roel Janssen
2016-03-23 13:49 ` Ricardo Wurmus
2016-04-20 12:39   ` Roel Janssen
2016-04-20 12:46 ` Ricardo Wurmus
2016-04-22  7:24   ` Roel Janssen
2016-04-26 14:47     ` Ricardo Wurmus
2016-04-26 17:31       ` Roel Janssen
2017-01-16 21:59         ` Ricardo Wurmus [this message]
2016-04-20 12:49 ` Ricardo Wurmus
2016-04-26 21:50   ` Roel Janssen
2017-01-16 22:04     ` Ricardo Wurmus
2016-04-20 12:53 ` Ricardo Wurmus
2016-04-22  7:40   ` Roel Janssen
2016-04-26 14:47     ` Ricardo Wurmus
2016-04-26 17:37       ` Roel Janssen
2017-01-16 21:56         ` Ricardo Wurmus
2016-04-20 12:56 ` Ricardo Wurmus
2016-04-20 12:58 ` Ricardo Wurmus
2016-04-22  8:04   ` Roel Janssen
2016-04-22 11:27     ` Ricardo Wurmus
2016-04-25  9:20       ` Roel Janssen
2016-04-26 14:42         ` Ricardo Wurmus
2016-04-20 13:06 ` Ricardo Wurmus
2016-04-20 13:08 ` Ricardo Wurmus
2016-04-26 17:50   ` Roel Janssen
2016-04-26 17:51     ` Roel Janssen
2017-01-16 21:54       ` Ricardo Wurmus
2017-01-17 21:57         ` Roel Janssen
2017-01-18  8:24           ` Ricardo Wurmus
2016-04-20 13:18 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shoi8y3m.fsf@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    --cc=roel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).