depot/third_party/nixpkgs/pkgs/development/ocaml-modules/phylogenetics/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

31 lines
914 B
Nix

{ stdenv, buildDunePackage, fetchFromGitHub, ppx_deriving
, alcotest, angstrom-unix, biocaml, gnuplot, gsl, lacaml, menhir, owl, printbox }:
buildDunePackage rec {
pname = "phylogenetics";
version = "unstable-2020-11-23";
useDune2 = true;
src = fetchFromGitHub {
owner = "biocaml";
repo = pname;
rev = "e6e10efa0a3a8fd61bf4ab69e91a09549cc1ded6";
sha256 = "0pmypzp0rvlpzm8zpbcfkphwnhrpyfwfv44kshvx2f8nslmksh8c";
};
minimumOCamlVersion = "4.08"; # e.g., uses Float.min
checkInputs = [ alcotest ];
buildInputs = [ menhir ];
propagatedBuildInputs = [ angstrom-unix biocaml gnuplot gsl lacaml 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;
};
}