51 lines
946 B
Nix
51 lines
946 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, fetchurl
|
|
, ppx_deriving
|
|
, bppsuite
|
|
, alcotest
|
|
, angstrom-unix
|
|
, biocaml
|
|
, core
|
|
, gsl
|
|
, lacaml
|
|
, menhir
|
|
, menhirLib
|
|
, printbox
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "phylogenetics";
|
|
version = "0.0.0";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/${pname}-${version}.tbz";
|
|
sha256 = "sha256:0knfh2s0jfnsc0vsq5yw5xla7m7i98xd0qv512dyh3jhkh7m00l9";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
checkInputs = [ alcotest bppsuite ];
|
|
buildInputs = [ menhir ];
|
|
propagatedBuildInputs = [
|
|
angstrom-unix
|
|
biocaml
|
|
core
|
|
gsl
|
|
lacaml
|
|
menhirLib
|
|
ppx_deriving
|
|
printbox
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/biocaml/phylogenetics";
|
|
description = "Algorithms and datastructures for phylogenetics";
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
license = licenses.cecill-b;
|
|
};
|
|
}
|