summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/phylogenetics/default.nix
blob: e665a3235788eb9cd7fa14e393ec696332413f51 (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
{ 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;
  };
}