7 stdenv.mkDerivation rec {
8 pname = "RAxML${lib.optionalString useMpi "-mpi"}";
11 src = fetchFromGitHub {
13 repo = "standard-RAxML";
15 sha256 = "sha256-w+Eqi0GhVira1H6ZnMNeZGBMzDjiGT7JSFpQEVXONyk=";
18 buildInputs = lib.optionals useMpi [ mpi ];
20 # TODO darwin, AVX and AVX2 makefile targets
21 buildPhase = if useMpi then ''
22 make -f Makefile.MPI.gcc
24 make -f Makefile.SSE3.PTHREADS.gcc
27 installPhase = if useMpi then ''
28 mkdir -p $out/bin && cp raxmlHPC-MPI $out/bin
30 mkdir -p $out/bin && cp raxmlHPC-PTHREADS-SSE3 $out/bin
34 description = "Tool for Phylogenetic Analysis and Post-Analysis of Large Phylogenies";
35 license = licenses.gpl3;
36 homepage = "https://sco.h-its.org/exelixis/web/software/raxml/";
37 maintainers = [ maintainers.unode ];
38 platforms = [ "i686-linux" "x86_64-linux" ];