Unverified Commit 66aedfd0 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #246815 from r-ryantm/auto-update/veryfasttree

veryfasttree: 4.0.1 -> 4.0.2
parents bbc06bb1 9a772d76
Loading
Loading
Loading
Loading
+22 −13
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages}:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, llvmPackages
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "veryfasttree";
  version = "4.0.1";
  version = "4.0.2";

  src = fetchFromGitHub {
    owner = "citiususc";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-fv5ovi180Osok5GYJEidjMqmL8gZKUcxrcCQ/00lvi4=";
    repo = "veryfasttree";
    rev = "v${finalAttrs.version}";
    hash = "sha256-JMBhSxfGO3qz7Yl4s5r6zWHFefXGzu0ktEJdRUh/Uqg=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp;

  installPhase = ''
    runHook preInstall

    install -m755 -D VeryFastTree $out/bin/VeryFastTree

    runHook postInstall
  '';

  meta = with lib; {
  meta = {
    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;
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ thyol ];
    platforms = lib.platforms.all;
  };
}
})