2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, ppx_deriving
|
|
|
|
, bppsuite
|
|
|
|
, alcotest
|
|
|
|
, angstrom-unix
|
|
|
|
, biocaml
|
|
|
|
, core
|
|
|
|
, gsl
|
|
|
|
, lacaml
|
|
|
|
, menhir
|
|
|
|
, menhirLib
|
|
|
|
, printbox
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "phylogenetics";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/${pname}-${version}.tbz";
|
|
|
|
sha256 = "sha256:0knfh2s0jfnsc0vsq5yw5xla7m7i98xd0qv512dyh3jhkh7m00l9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
checkInputs = [ alcotest bppsuite ];
|
2020-12-25 13:55:36 +00:00
|
|
|
buildInputs = [ menhir ];
|
2021-12-06 16:07:01 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
angstrom-unix
|
|
|
|
biocaml
|
|
|
|
core
|
|
|
|
gsl
|
|
|
|
lacaml
|
|
|
|
menhirLib
|
|
|
|
ppx_deriving
|
|
|
|
printbox
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://github.com/biocaml/phylogenetics";
|
|
|
|
description = "Algorithms and datastructures for phylogenetics";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.cecill-b;
|
|
|
|
};
|
|
|
|
}
|