about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-09-04 23:58:04 +0200
committerGitHub <noreply@github.com>2022-09-04 23:58:04 +0200
commiteb3d3b2e9049e2fcf812e29c6636830cac3e0733 (patch)
treea6ed864a1f0c702e88058758d441263acb9aaf0b /pkgs/applications/science
parent3258953b24e26030e7ba7e3a20df9c86f6319b4e (diff)
parentc15d568d0bb61747ca038c2aee0ae829f31386cd (diff)
Merge pull request #175449 from bzizou/iqtree
iqtree: init at 2.2.0.4
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/biology/iqtree/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/iqtree/default.nix b/pkgs/applications/science/biology/iqtree/default.nix
new file mode 100644
index 0000000000000..0d567733f9233
--- /dev/null
+++ b/pkgs/applications/science/biology/iqtree/default.nix
@@ -0,0 +1,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 ];
+  };
+}