mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{ lib
|
|
, buildDunePackage
|
|
, fetchurl
|
|
, bppsuite
|
|
, alcotest
|
|
, angstrom-unix
|
|
, biotk
|
|
, core
|
|
, gsl
|
|
, lacaml
|
|
, menhir
|
|
, menhirLib
|
|
, printbox-text
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "phylogenetics";
|
|
version = "0.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/phylogenetics-${version}.tbz";
|
|
hash = "sha256-3oZ9fMAXqOQ02rQ+8W8PZJWXOJLNe2qERrGOeTk3BKg=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
nativeCheckInputs = [ bppsuite ];
|
|
checkInputs = [ alcotest ];
|
|
nativeBuildInputs = [ menhir ];
|
|
propagatedBuildInputs = [
|
|
angstrom-unix
|
|
biotk
|
|
core
|
|
gsl
|
|
lacaml
|
|
menhirLib
|
|
printbox-text
|
|
];
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
dune build @app/fulltest
|
|
runHook postCheck
|
|
'';
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Algorithms and datastructures for phylogenetics";
|
|
homepage = "https://github.com/biocaml/phylogenetics";
|
|
license = licenses.cecill-b;
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
mainProgram = "phylosim";
|
|
};
|
|
}
|