forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / phylogenetics / default.nix
blobdd99947db1f58b212f295ab40608e201f48789dc
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , bppsuite
5 , alcotest
6 , angstrom-unix
7 , biotk
8 , core
9 , gsl
10 , lacaml
11 , menhir
12 , menhirLib
13 , printbox-text
16 buildDunePackage rec {
17   pname = "phylogenetics";
18   version = "0.3.0";
20   src = fetchurl {
21     url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/phylogenetics-${version}.tbz";
22     hash = "sha256-3oZ9fMAXqOQ02rQ+8W8PZJWXOJLNe2qERrGOeTk3BKg=";
23   };
25   minimalOCamlVersion = "4.08";
27   nativeCheckInputs = [ bppsuite ];
28   checkInputs = [ alcotest ];
29   nativeBuildInputs = [ menhir ];
30   propagatedBuildInputs = [
31     angstrom-unix
32     biotk
33     core
34     gsl
35     lacaml
36     menhirLib
37     printbox-text
38   ];
40   checkPhase = ''
41     runHook preCheck
42     dune build @app/fulltest
43     runHook postCheck
44   '';
45   doCheck = true;
47   meta = with lib; {
48     description = "Algorithms and datastructures for phylogenetics";
49     homepage = "https://github.com/biocaml/phylogenetics";
50     license = licenses.cecill-b;
51     maintainers = [ maintainers.bcdarwin ];
52     mainProgram = "phylosim";
53   };