about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-09-05 15:57:48 +0200
committerGitHub <noreply@github.com>2022-09-05 15:57:48 +0200
commit73bf7a0ca010352e4fc556a1a340b098e3c9b3f7 (patch)
tree5407e8654328b7a947a7d0165aaa192b96c6b66b /pkgs/applications/science
parent8b733e43e7330caa2c0211ea7c1d365b5b79d14a (diff)
parent7c09cfdc1ad7de866178550fcaeac6076b77024f (diff)
Merge pull request #181954 from bzizou/treemix
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/biology/treemix/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/treemix/default.nix b/pkgs/applications/science/biology/treemix/default.nix
new file mode 100644
index 0000000000000..7bf966919a67e
--- /dev/null
+++ b/pkgs/applications/science/biology/treemix/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, stdenv
+, fetchurl
+, zlib
+, gsl
+, boost
+}:
+
+stdenv.mkDerivation rec {
+  pname = "treemix";
+  version = "1.13";
+
+  src = fetchurl {
+    url = "https://bitbucket.org/nygcresearch/treemix/downloads/${pname}-${version}.tar.gz";
+    sha256 = "1nd3rzsdgk47r8b8k43mdfvaagln533sm08s1jr0dz8km8nlym7y";
+  };
+
+  buildInputs = [ zlib gsl boost ];
+
+  meta = with lib ; {
+    description = "Inference of patterns of population splitting and mixing from genome-wide allele frequency data";
+    homepage = "https://bitbucket.org/nygcresearch/treemix/wiki/Home";
+    license = licenses.gpl3Only;
+    maintainers = [ maintainers.bzizou ];
+    platforms = platforms.linux;
+  };
+}