depot/third_party/nixpkgs/pkgs/applications/science/biology/veryfasttree/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

28 lines
834 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages}:
stdenv.mkDerivation rec {
pname = "veryfasttree";
version = "4.0.1";
src = fetchFromGitHub {
owner = "citiususc";
repo = pname;
rev = "v${version}";
hash = "sha256-fv5ovi180Osok5GYJEidjMqmL8gZKUcxrcCQ/00lvi4=";
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp;
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 ];
platforms = platforms.all;
};
}