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-04-13 09:41:51 +01:00
|
|
|
version = "unstable-2020-01-25";
|
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-04-13 09:41:51 +01:00
|
|
|
rev = "752a7d0324709ba919ef43630a270afd45d6b734";
|
|
|
|
sha256 = "1zsxpl1yjbw6y6n1q7qk3h0l7c0lxhh8yp8bkxlwnpzlkqq28ycg";
|
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;
|
|
|
|
};
|
|
|
|
}
|