18 lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
19 "phylogenetics is not compatible with OCaml ${ocaml.version}"
21 buildDunePackage rec {
22 pname = "phylogenetics";
23 version = "unstable-2022-05-06";
25 src = fetchFromGitHub {
28 rev = "cd7c624d0f98e31b02933ca4511b9809b26d35b5";
29 sha256 = "sha256:0w0xyah3hj05hxg1rsa40hhma3dm1cyq0zvnjrihhf22laxap7ga";
32 minimalOCamlVersion = "4.08";
34 nativeCheckInputs = [ bppsuite ];
35 checkInputs = [ alcotest ];
36 nativeBuildInputs = [ menhir ];
37 propagatedBuildInputs = [
50 dune build @app/fulltest
56 description = "Algorithms and datastructures for phylogenetics";
57 homepage = "https://github.com/biocaml/phylogenetics";
58 license = licenses.cecill-b;
59 maintainers = [ maintainers.bcdarwin ];
60 mainProgram = "phylosim";