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";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "2.5.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BenLangmead";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-HaiZmWU6akHXJVWBmCvkG2E61NDrAP7UIxx9DNCEZqE=";
|
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
|
|
|
};
|
|
|
|
}
|