about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2019-12-02 11:20:38 -0500
committerBen Darwin <bcdarwin@gmail.com>2019-12-06 12:00:44 -0500
commit3fa5a19cf867ae2ef46632ffebf910468d86f19f (patch)
tree4facf593f539c7830b07aa80069e4e3e0bb9532a /pkgs
parent13f55534cb2a7596339fc6e1acc450c87870d517 (diff)
downloadnixlib-3fa5a19cf867ae2ef46632ffebf910468d86f19f.tar
nixlib-3fa5a19cf867ae2ef46632ffebf910468d86f19f.tar.gz
nixlib-3fa5a19cf867ae2ef46632ffebf910468d86f19f.tar.bz2
nixlib-3fa5a19cf867ae2ef46632ffebf910468d86f19f.tar.lz
nixlib-3fa5a19cf867ae2ef46632ffebf910468d86f19f.tar.xz
nixlib-3fa5a19cf867ae2ef46632ffebf910468d86f19f.tar.zst
nixlib-3fa5a19cf867ae2ef46632ffebf910468d86f19f.zip
ocamlPackages_latest.phylogenetics: init at unstable-2019-11-15
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/phylogenetics/default.nix28
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/phylogenetics/default.nix b/pkgs/development/ocaml-modules/phylogenetics/default.nix
new file mode 100644
index 000000000000..e665a3235788
--- /dev/null
+++ b/pkgs/development/ocaml-modules/phylogenetics/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, buildDunePackage, fetchFromGitHub, ppx_deriving
+, alcotest, biocaml, gnuplot, lacaml, menhir, owl }:
+
+buildDunePackage rec {
+  pname = "phylogenetics";
+  version = "unstable-2019-11-15";
+
+  src = fetchFromGitHub {
+    owner  = "biocaml";
+    repo   = pname;
+    rev    = "91c03834db065cf4a86f33affbb9cfd216defc9f";
+    sha256 = "0i9m0633a6a724as35ix8z3p1gj267cl0hmqrpw4qfq39zxmgnxb";
+  };
+
+  minimumOCamlVersion = "4.08";  # e.g., uses Float.min
+
+  checkInputs = [ alcotest ];
+  propagatedBuildInputs = [ biocaml gnuplot lacaml menhir owl ppx_deriving ];
+
+  doCheck = false;  # many tests require bppsuite
+
+  meta = with stdenv.lib; {
+    inherit (std.meta) homepage;
+    description = "Bioinformatics library for Ocaml";
+    maintainers = [ maintainers.bcdarwin ];
+    license = licenses.cecill-b;
+  };
+}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 40f09c8d5563..1421abfc111b 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -629,6 +629,8 @@ let
 
     pgsolver = callPackage ../development/ocaml-modules/pgsolver { };
 
+    phylogenetics = callPackage ../development/ocaml-modules/phylogenetics { };
+
     piqi = callPackage ../development/ocaml-modules/piqi {
       base64 = base64_2;
     };