freebayes: clean up build

This commit is contained in:
Robin Gloster 2017-09-28 00:52:58 +02:00
parent a3e2ecd7f7
commit 7cbf3a27de
2 changed files with 4 additions and 13 deletions

View File

@ -1,11 +0,0 @@
source $stdenv/setup
unpackPhase
cd freebayes-*
make
mkdir -p $out/bin
cp bin/freebayes bin/bamleftalign $out/bin
cp scripts/* $out/bin

View File

@ -13,9 +13,11 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
buildInputs = [ cmake gcc zlib bzip2 lzma ];
buildInputs = [ zlib bzip2 lzma ];
builder = ./builder.sh;
installPhase = ''
install -vD bin/freebayes bin/bamleftalign scripts/* -t $out/bin
'';
meta = with stdenv.lib; {
description = "Bayesian haplotype-based polymorphism discovery and genotyping";