[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add mash.
From: |
Ricardo Wurmus |
Subject: |
Re: [PATCH] gnu: Add mash. |
Date: |
Wed, 31 Aug 2016 22:16:21 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Leo Famulari <address@hidden> writes:
> On Tue, Aug 30, 2016 at 06:54:49PM +0100, Marius Bakke wrote:
>> * gnu/packages/bioinformatics.scm (mash): New variable.
>
> Thanks!
>
>> + (add-after 'unpack 'fix-includes
>> + (lambda _
>> + (substitute* '("src/mash/Sketch.cpp"
>> "src/mash/CommandFind.cpp")
>> + (("^#include \"kseq\\.h\"")
>> + "#include \"htslib/kseq.h\""))
>> + #t))
>> + (add-before 'configure 'autoconf
>> + (lambda _ (zero? (system* "autoconf")))))))
>> + (native-inputs
>> + `(("autoconf" ,autoconf)
>> + ("capnproto" ,capnproto)
>> + ("htslib" ,htslib)))
>
> Does it only need to use capnproto and htslib while building? Okay if
> so.
Looking at the substitution in “fix-includes” htslib probably should be
a regular input.
~~ Ricardo