blob: dd99947db1f58b212f295ab40608e201f48789dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{ 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";
};
}
|