depot/third_party/nixpkgs/pkgs/development/ocaml-modules/phylogenetics/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
872 B
Nix

{ stdenv, buildDunePackage, fetchFromGitHub, ppx_deriving
, alcotest, biocaml, gnuplot, lacaml, menhir, ocaml-r, owl, printbox }:
buildDunePackage rec {
pname = "phylogenetics";
version = "unstable-2020-01-25";
useDune2 = true;
src = fetchFromGitHub {
owner = "biocaml";
repo = pname;
rev = "752a7d0324709ba919ef43630a270afd45d6b734";
sha256 = "1zsxpl1yjbw6y6n1q7qk3h0l7c0lxhh8yp8bkxlwnpzlkqq28ycg";
};
minimumOCamlVersion = "4.08"; # e.g., uses Float.min
checkInputs = [ alcotest ];
propagatedBuildInputs = [ biocaml gnuplot lacaml menhir ocaml-r owl ppx_deriving printbox ];
doCheck = false; # many tests require bppsuite
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Bioinformatics library for Ocaml";
maintainers = [ maintainers.bcdarwin ];
license = licenses.cecill-b;
};
}