1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/applications/science/biology/freebayes/default.nix
2017-09-28 00:54:01 +02:00

28 lines
789 B
Nix

{ stdenv, fetchFromGitHub, cmake, gcc, zlib, bzip2, lzma }:
stdenv.mkDerivation rec {
name = "freebayes-${version}";
version = "2017-08-23";
src = fetchFromGitHub {
name = "freebayes-${version}-src";
owner = "ekg";
repo = "freebayes";
rev = "8d2b3a060da473e1f4f89be04edfce5cba63f1d3";
sha256 = "0yyrgk2639lz1yvg4jf0ccahnkic31dy77q05pb3i28rjf37v45z";
fetchSubmodules = true;
};
buildInputs = [ cmake gcc zlib bzip2 lzma ];
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" ];
};
}