2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, ppx_deriving
|
2020-12-25 13:55:36 +00:00
|
|
|
, alcotest, angstrom-unix, biocaml, gnuplot, gsl, lacaml, menhir, owl, printbox }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "phylogenetics";
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "unstable-2020-11-23";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "biocaml";
|
|
|
|
repo = pname;
|
2020-12-25 13:55:36 +00:00
|
|
|
rev = "e6e10efa0a3a8fd61bf4ab69e91a09549cc1ded6";
|
|
|
|
sha256 = "0pmypzp0rvlpzm8zpbcfkphwnhrpyfwfv44kshvx2f8nslmksh8c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.08"; # e.g., uses Float.min
|
|
|
|
|
|
|
|
checkInputs = [ alcotest ];
|
2020-12-25 13:55:36 +00:00
|
|
|
buildInputs = [ menhir ];
|
|
|
|
propagatedBuildInputs = [ angstrom-unix biocaml gnuplot gsl lacaml owl ppx_deriving printbox ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = false; # many tests require bppsuite
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Bioinformatics library for Ocaml";
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.cecill-b;
|
|
|
|
};
|
|
|
|
}
|