nixpkgs/pkgs/applications/science/biology/bwa/default.nix

26 lines
688 B
Nix
Raw Normal View History

2017-09-05 00:09:40 +02:00
{ stdenv, fetchurl, zlib }:
2016-06-07 23:44:42 +02:00
stdenv.mkDerivation rec {
name = "bwa-${version}";
2018-01-22 02:58:36 +01:00
version = "0.7.17";
2016-06-07 23:44:42 +02:00
2017-09-05 00:09:40 +02:00
src = fetchurl {
url = "mirror://sourceforge/bio-bwa/${name}.tar.bz2";
2018-01-22 02:58:36 +01:00
sha256 = "1zfhv2zg9v1icdlq4p9ssc8k01mca5d1bd87w71py2swfi74s6yy";
2016-06-07 23:44:42 +02:00
};
buildInputs = [ zlib ];
installPhase = ''
2017-09-05 00:09:40 +02:00
install -vD bwa $out/bin/bwa
2016-06-07 23:44:42 +02: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 ];
platforms = [ "x86_64-linux" ];
2016-06-07 23:44:42 +02:00
};
}