Files
nixpkgs/pkgs/development/ocaml-modules/phylogenetics/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

56 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 = {
description = "Algorithms and datastructures for phylogenetics";
homepage = "https://github.com/biocaml/phylogenetics";
license = lib.licenses.cecill-b;
maintainers = [ lib.maintainers.bcdarwin ];
mainProgram = "phylosim";
};
}