1{ lib
2, buildDunePackage
3, fetchurl
4, ppx_deriving
5, bppsuite
6, alcotest
7, angstrom-unix
8, biocaml
9, core
10, gsl
11, lacaml
12, menhir
13, menhirLib
14, printbox
15}:
16
17buildDunePackage rec {
18 pname = "phylogenetics";
19 version = "0.0.0";
20
21 useDune2 = true;
22
23 src = fetchurl {
24 url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/${pname}-${version}.tbz";
25 sha256 = "sha256:0knfh2s0jfnsc0vsq5yw5xla7m7i98xd0qv512dyh3jhkh7m00l9";
26 };
27
28 minimalOCamlVersion = "4.08";
29
30 checkInputs = [ alcotest bppsuite ];
31 buildInputs = [ menhir ];
32 propagatedBuildInputs = [
33 angstrom-unix
34 biocaml
35 core
36 gsl
37 lacaml
38 menhirLib
39 ppx_deriving
40 printbox
41 ];
42
43 doCheck = true;
44
45 meta = with lib; {
46 homepage = "https://github.com/biocaml/phylogenetics";
47 description = "Algorithms and datastructures for phylogenetics";
48 maintainers = [ maintainers.bcdarwin ];
49 license = licenses.cecill-b;
50 };
51}