2020-03-15 17:14:11 +00:00
|
|
|
{ stdenv, buildDunePackage, fetchFromGitHub, ppx_deriving
|
2020-03-26 02:57:08 +00:00
|
|
|
, alcotest, biocaml, gnuplot, lacaml, menhir, ocaml-r, 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-03-26 02:57:08 +00:00
|
|
|
version = "unstable-2020-01-05";
|
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-03-26 02:57:08 +00:00
|
|
|
rev = "b55ef7d7322bd822be26d21339945d45487fb547";
|
|
|
|
sha256 = "0hzfjhs5w3a7hlzxs739k5ik3k1xn3dzyzziid765s74f638n4hj";
|
2019-12-02 16:20:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.08"; # e.g., uses Float.min
|
|
|
|
|
|
|
|
checkInputs = [ alcotest ];
|
2020-03-26 02:57:08 +00:00
|
|
|
propagatedBuildInputs = [ biocaml gnuplot lacaml menhir ocaml-r owl ppx_deriving printbox ];
|
2019-12-02 16:20:38 +00:00
|
|
|
|
|
|
|
doCheck = false; # many tests require bppsuite
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|