2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
2022-07-18 16:21:45 +00:00
|
|
|
, fetchFromGitHub
|
2021-12-06 16:07:01 +00:00
|
|
|
, ppx_deriving
|
|
|
|
, bppsuite
|
|
|
|
, alcotest
|
|
|
|
, angstrom-unix
|
|
|
|
, biocaml
|
|
|
|
, core
|
|
|
|
, gsl
|
|
|
|
, lacaml
|
|
|
|
, menhir
|
|
|
|
, menhirLib
|
2022-02-10 20:34:41 +00:00
|
|
|
, printbox-text
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "phylogenetics";
|
2022-07-18 16:21:45 +00:00
|
|
|
version = "unstable-2022-05-06";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-07-18 16:21:45 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "biocaml";
|
|
|
|
repo = pname;
|
|
|
|
rev = "cd7c624d0f98e31b02933ca4511b9809b26d35b5";
|
|
|
|
sha256 = "sha256:0w0xyah3hj05hxg1rsa40hhma3dm1cyq0zvnjrihhf22laxap7ga";
|
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
|
2022-02-10 20:34:41 +00:00
|
|
|
printbox-text
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
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
|
|
|
description = "Algorithms and datastructures for phylogenetics";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/biocaml/phylogenetics";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.cecill-b;
|
2022-05-18 14:49:53 +00:00
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
mainProgram = "phylosim";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|