unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Roel Janssen <roel@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add freebayes.
Date: Tue, 8 Mar 2016 18:55:15 -0500	[thread overview]
Message-ID: <20160308235515.GC24107@jasmine> (raw)
In-Reply-To: <874mchc6uz.fsf@gnu.org>

On Tue, Mar 08, 2016 at 04:44:13PM +0100, Roel Janssen wrote:

Thanks for the patch! This looks like a big one!

[...]

> +      (native-inputs
> +       `(("cmake" ,cmake)
> +         ("htslib" ,htslib)
> +         ("zlib" ,zlib)
> +         ("python" ,python-2)
> +         ("perl" ,perl)
> +         ("bamtools-src"
> +          ,(origin
> +             (method url-fetch)
> +             (uri (string-append "https://github.com/ekg/bamtools/archive/"
> +                  "e77a43f5097ea7eee432ee765049c6b246d49baa" ".tar.gz"))
> +             (file-name "bamtools-src.tar.gz")
> +             (sha256
> +              (base32 "0rqymka21g6lfjfgxzr40pxz4c4fcl77jpy1np1li70pnc7h2cs1"))))

[... more sub-modules ...]

> +      (arguments
> +       `(#:tests? #f

Can you say why tests are disabled? It can be as simple as "no test
suite".

> +         #:phases
> +         (modify-phases %standard-phases
> +           (delete 'configure)
> +           (delete 'check)

This can be removed when using "#:tests? #f", which is the preferred way
to skip tests.

[...]

> Dear Guix,
> 
> I have a patch to add another bioinformatics tool: FreeBayes. It is a
> rather long patch, so suspect it isn't completely 'guix-proof'.
> 
> One of the problems with the patch is probably the bulk of dependencies
> dragged in (for example, vcflib).  They use specific versions so they
> are tied to this package (so that's why I cannot package them separately).

You can specify the version of dependencies when you list them in your
package. There is an example of this in the package definition of
fltk [0]. Is that not an appropriate solution for freebayes?

In any case, I think we should find some way to specify the license of
the code in all those modules.

I think somebody with some more experience should weigh in...

Cc-ing Ricardo since he also packages a lot of bioinformatics packages.

Thanks again for putting such a complicated patch together! We will find
the best way to add freebayes to the distribution :)

[0] Due to a recent change, the most correct method of specifying the
version uses '@' to separate the package name and version rather than
'-'.

  reply	other threads:[~2016-03-08 23:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08 15:44 [PATCH] gnu: Add freebayes Roel Janssen
2016-03-08 23:55 ` Leo Famulari [this message]
2016-03-09  6:44   ` Pjotr Prins
2016-03-09  6:53 ` Pjotr Prins
2016-03-09  7:31   ` Leo Famulari
2016-03-10  9:56     ` Roel Janssen
2016-03-09 10:17 ` Ricardo Wurmus
  -- strict thread matches above, loose matches on Subject: below --
2016-05-02  9:25 Rob Syme
2016-05-02 15:21 ` Ricardo Wurmus
2016-05-03  7:32   ` Rob Syme
2016-05-03  7:45     ` Roel Janssen
2016-05-03  7:52       ` Rob Syme
2016-05-03 12:34         ` Pjotr Prins

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=20160308235515.GC24107@jasmine \
    --to=leo@famulari.name \
    --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).