2021-08-08 23:34:03 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, tbb, zlib, python3, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bowtie2";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "2.4.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BenLangmead";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "sha256-xCsTkQXrZS+Njn0YfidhPln+OwVfTXOqbtB0dCfTP2U=";
|
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-08-08 23:34:03 +00:00
|
|
|
buildInputs = [ tbb zlib python3 perl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|