Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: zimbatm <zimbatm@zimbatm.com>
- Loading branch information
1 parent
af2ecc2
commit 59ca5d2
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
source $stdenv/setup | ||
|
||
unpackPhase | ||
|
||
cd freebayes-* | ||
|
||
make | ||
|
||
mkdir -p $out/bin | ||
cp bin/freebayes bin/bamleftalign $out/bin | ||
cp scripts/* $out/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ stdenv, fetchFromGitHub, cmake, gcc, zlib}: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "freebayes-${version}"; | ||
version = "1.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
name = "freebayes-${version}-src"; | ||
owner = "ekg"; | ||
repo = "freebayes"; | ||
rev = "refs/tags/v${version}"; | ||
sha256 = "0xb8aicb36w9mfs1gq1x7mcp3p82kl7i61d162hfncqzg2npg8rr"; | ||
fetchSubmodules = true; | ||
}; | ||
|
||
buildInputs = [ cmake gcc zlib ]; | ||
|
||
builder = ./builder.sh; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Bayesian haplotype-based polymorphism discovery and genotyping"; | ||
license = licenses.mit; | ||
homepage = https://github.com/ekg/freebayes; | ||
maintainers = with maintainers; [ jdagilliland ]; | ||
platforms = [ "x86_64-linux" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters