2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, ppx_deriving
|
2020-12-08 20:50:14 +00:00
|
|
|
, alcotest, angstrom-unix, biocaml, gnuplot, gsl, lacaml, menhir, owl, printbox }:
|
2019-12-02 16:20:38 +00:00
|
|
|
|
2020-03-15 17:14:11 +00:00
|
|
|
buildDunePackage rec {
|
2019-12-02 16:20:38 +00:00
|
|
|
pname = "phylogenetics";
|
2020-12-08 20:50:14 +00:00
|
|
|
version = "unstable-2020-11-23";
|
2019-12-02 16:20:38 +00:00
|
|
|
|
2020-03-15 17:14:11 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-12-02 16:20:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "biocaml";
|
|
|
|
repo = pname;
|
2020-12-08 20:50:14 +00:00
|
|
|
rev = "e6e10efa0a3a8fd61bf4ab69e91a09549cc1ded6";
|
|
|
|
sha256 = "0pmypzp0rvlpzm8zpbcfkphwnhrpyfwfv44kshvx2f8nslmksh8c";
|
2019-12-02 16:20:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.08"; # e.g., uses Float.min
|
|
|
|
|
|
|
|
checkInputs = [ alcotest ];
|
2020-12-08 20:50:14 +00:00
|
|
|
buildInputs = [ menhir ];
|
|
|
|
propagatedBuildInputs = [ angstrom-unix biocaml gnuplot gsl lacaml owl ppx_deriving printbox ];
|
2019-12-02 16:20:38 +00:00
|
|
|
|
|
|
|
doCheck = false; # many tests require bppsuite
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-27 05:00:53 +00:00
|
|
|
inherit (src.meta) homepage;
|
2019-12-02 16:20:38 +00:00
|
|
|
description = "Bioinformatics library for Ocaml";
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.cecill-b;
|
|
|
|
};
|
|
|
|
}
|