3
0
Fork 0
forked from mirrors/nixpkgs

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; 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; { meta = with stdenv.lib; {
description = "Bayesian haplotype-based polymorphism discovery and genotyping"; description = "Bayesian haplotype-based polymorphism discovery and genotyping";