2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchFromGitHub, zlib, bzip2, lzma }:
|
2016-12-17 06:36:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "freebayes";
|
2019-11-04 21:57:31 +01:00
|
|
|
version = "1.3.1";
|
2016-12-17 06:36:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
name = "freebayes-${version}-src";
|
|
|
|
owner = "ekg";
|
|
|
|
repo = "freebayes";
|
2019-11-04 21:57:31 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "035nriknjqq8gvil81vvsmvqwi35v80q8h1cw24vd1gdyn1x7bys";
|
2016-12-17 06:36:53 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2017-09-28 00:52:58 +02:00
|
|
|
buildInputs = [ zlib bzip2 lzma ];
|
2016-12-17 06:36:53 +01:00
|
|
|
|
2017-09-28 00:52:58 +02:00
|
|
|
installPhase = ''
|
|
|
|
install -vD bin/freebayes bin/bamleftalign scripts/* -t $out/bin
|
|
|
|
'';
|
2016-12-17 06:36:53 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Bayesian haplotype-based polymorphism discovery and genotyping";
|
|
|
|
license = licenses.mit;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ekg/freebayes";
|
2016-12-17 06:36:53 +01:00
|
|
|
maintainers = with maintainers; [ jdagilliland ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|