forked from mirrors/nixpkgs
freebayes: clean up build
This commit is contained in:
parent
a3e2ecd7f7
commit
7cbf3a27de
|
@ -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
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue