From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add mash. Date: Wed, 31 Aug 2016 15:44:26 -0400 Message-ID: <20160831194426.GC22495@jasmine> References: <87h9a2yweu.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfBRB-0005aP-N1 for guix-devel@gnu.org; Wed, 31 Aug 2016 15:44:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfBR6-0006BI-OQ for guix-devel@gnu.org; Wed, 31 Aug 2016 15:44:41 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:35440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfBR5-00069G-IS for guix-devel@gnu.org; Wed, 31 Aug 2016 15:44:36 -0400 Content-Disposition: inline In-Reply-To: <87h9a2yweu.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel@gnu.org 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.