about summary refs log tree commit diff
path: root/pkgs/applications/science/biology/freebayes/default.nix
blob: ef0da619b25af630258cdd1b04e7626099127f3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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" ];
  };
}