2023-07-15 17:15:38 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages}:
|
2022-11-27 09:42:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-03-15 16:39:30 +00:00
|
|
|
pname = "veryfasttree";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "4.0.1";
|
2022-11-27 09:42:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "citiususc";
|
2023-03-15 16:39:30 +00:00
|
|
|
repo = pname;
|
2022-11-27 09:42:12 +00:00
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-fv5ovi180Osok5GYJEidjMqmL8gZKUcxrcCQ/00lvi4=";
|
2022-11-27 09:42:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2023-07-15 17:15:38 +00:00
|
|
|
buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp;
|
2022-11-27 09:42:12 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -m755 -D VeryFastTree $out/bin/VeryFastTree
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Speeding up the estimation of phylogenetic trees for large alignments through parallelization and vectorization strategies";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
homepage = "https://github.com/citiususc/veryfasttree";
|
|
|
|
maintainers = with maintainers; [ thyol ];
|
2023-07-15 17:15:38 +00:00
|
|
|
platforms = platforms.all;
|
2022-11-27 09:42:12 +00:00
|
|
|
};
|
|
|
|
}
|