1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/applications/science/biology/bwa/default.nix

26 lines
689 B
Nix
Raw Normal View History

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 ];
platforms = [ "x86_64-linux" ];
2016-06-07 22:44:42 +01:00
};
}