2021-01-05 17:05:55 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, tbb, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bowtie2";
|
2021-01-05 17:05:55 +00:00
|
|
|
version = "2.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BenLangmead";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-01-05 17:05:55 +00:00
|
|
|
sha256 = "11apzq7l1lk3yxw97g9dfr0gwnvfh58x6apifcblgd66gbip3y1y";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
buildInputs = [ tbb zlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An ultrafast and memory-efficient tool for aligning sequencing reads to long reference sequences";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
homepage = "http://bowtie-bio.sf.net/bowtie2";
|
|
|
|
maintainers = with maintainers; [ rybern ];
|
|
|
|
platforms = platforms.all;
|
2021-01-05 17:05:55 +00:00
|
|
|
broken = stdenv.isAarch64; # only x86 is supported
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|