Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 55 lines 1.1 kB view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 bppsuite, 6 alcotest, 7 angstrom-unix, 8 biotk, 9 core, 10 gsl, 11 lacaml, 12 menhir, 13 menhirLib, 14 printbox-text, 15}: 16 17buildDunePackage rec { 18 pname = "phylogenetics"; 19 version = "0.3.0"; 20 21 src = fetchurl { 22 url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/phylogenetics-${version}.tbz"; 23 hash = "sha256-3oZ9fMAXqOQ02rQ+8W8PZJWXOJLNe2qERrGOeTk3BKg="; 24 }; 25 26 minimalOCamlVersion = "4.08"; 27 28 nativeCheckInputs = [ bppsuite ]; 29 checkInputs = [ alcotest ]; 30 nativeBuildInputs = [ menhir ]; 31 propagatedBuildInputs = [ 32 angstrom-unix 33 biotk 34 core 35 gsl 36 lacaml 37 menhirLib 38 printbox-text 39 ]; 40 41 checkPhase = '' 42 runHook preCheck 43 dune build @app/fulltest 44 runHook postCheck 45 ''; 46 doCheck = true; 47 48 meta = with lib; { 49 description = "Algorithms and datastructures for phylogenetics"; 50 homepage = "https://github.com/biocaml/phylogenetics"; 51 license = licenses.cecill-b; 52 maintainers = [ maintainers.bcdarwin ]; 53 mainProgram = "phylosim"; 54 }; 55}