summary refs log tree commit diff
path: root/pkgs/applications/science/biology/iqtree/default.nix
blob: 0d567733f9233c7c9eee8031e677fca6ec9d7080 (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
27
28
29
30
31
32
{ lib
, stdenv
, fetchFromGitHub
, cmake
, boost
, eigen
, zlib
}:

stdenv.mkDerivation rec {
  pname = "iqtree";
  version = "2.2.0.4";

  src = fetchFromGitHub {
    owner = "iqtree";
    repo = "iqtree2";
    rev = "v${version}";
    sha256 = "sha256:0ickw1ldpvv2m66yzbvqfhn8k07qdkhbjrlqjs6vcf3s42j5c6pq";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [ cmake ];

  buildInputs = [ boost eigen zlib ];

  meta = with lib; {
    homepage = "http://www.iqtree.org/";
    description = "Efficient and versatile phylogenomic software by maximum likelihood";
    license = licenses.lgpl2;
    maintainers = with maintainers; [ bzizou ];
  };
}