about summary refs log tree commit diff
path: root/pkgs/applications/science/biology/veryfasttree/default.nix
blob: d5d4c6231e6997f04043af7eb61ed67c53e1fdb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  name   = "veryfasttree";
  version = "3.1.1";

  src = fetchFromGitHub {
    owner = "citiususc";
    repo = "${name}";
    rev = "v${version}";
    hash = "sha256-AOzbxUnrn1qgscjdOKf4dordnSKtIg3nSVaYWK1jbuc=";
  };

  nativeBuildInputs = [ cmake ];

  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 ];
  };
}