2017-09-04 23:09:40 +01:00
|
|
|
{ stdenv, fetchurl, zlib }:
|
2016-06-07 22:44:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bwa-${version}";
|
2017-09-04 23:09:40 +01:00
|
|
|
version = "0.7.16a";
|
2016-06-07 22:44:42 +01:00
|
|
|
|
2017-09-04 23:09:40 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/bio-bwa/${name}.tar.bz2";
|
|
|
|
sha256 = "0w61zxh6b4isydw5qp6pdb1mc50jg1h8vhahw2xm24w7i1gxpv4g";
|
2016-06-07 22:44:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2017-09-04 23:09:40 +01:00
|
|
|
install -vD bwa $out/bin/bwa
|
2016-06-07 22:44:42 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A software package for mapping low-divergent sequences against a large reference genome, such as the human genome";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
homepage = http://bio-bwa.sourceforge.net/;
|
|
|
|
maintainers = with maintainers; [ luispedro ];
|
2016-08-06 14:46:04 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2016-06-07 22:44:42 +01:00
|
|
|
};
|
|
|
|
}
|