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