ocamlPackages.biotk: init at 0.2.0

This commit is contained in:
Vincent Laporte 2024-04-23 08:50:12 +02:00
parent fd728608d1
commit 15526d81c5
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{ lib
, buildDunePackage
, fetchurl
, angstrom-unix
, binning
, ocaml-crunch
, camlzip
, core_kernel
, core_unix
, csvfields
, fmt
, gsl
, ppx_csv_conv
, ppx_deriving
, rresult
, tyxml
, uri
, vg
}:
buildDunePackage rec {
pname = "biotk";
version = "0.2.0";
minimalOCamlVersion = "4.13";
src = fetchurl {
url = "https://github.com/pveber/biotk/releases/download/v${version}/biotk-${version}.tbz";
hash = "sha256-FQvbVj5MmraSN6AmOckKgJ/LB14E/pCsPvPvNppcv7A=";
};
nativeBuildInputs = [ ocaml-crunch ];
buildInputs = [ ppx_csv_conv ];
propagatedBuildInputs = [
angstrom-unix
binning
camlzip
core_kernel
core_unix
csvfields
fmt
gsl
ppx_deriving
rresult
tyxml
uri
vg
];
meta = {
description = "Toolkit for bioinformatics in OCaml";
license = lib.licenses.cecill-c;
};
}

View file

@ -92,6 +92,8 @@ let
biocaml = janeStreet_0_15.biocaml;
biotk = janeStreet_0_15.biotk;
bisect_ppx = callPackage ../development/ocaml-modules/bisect_ppx { };
bistro = callPackage ../development/ocaml-modules/bistro { };
@ -821,6 +823,15 @@ let
cfstream = self.cfstream.override { inherit core_kernel; };
};
biotk = let
angstrom = self.angstrom.override { inherit ppx_let; };
in callPackage ../development/ocaml-modules/biotk {
angstrom-unix = self.angstrom-unix.override { inherit angstrom; };
ppx_deriving = self.ppx_deriving.override { inherit (jsDeps) ppxlib; };
uri = self.uri.override { inherit angstrom; };
vg = self.vg.override { htmlcBackend = false; };
};
phylogenetics = let
angstrom = self.angstrom.override { inherit ppx_let; };
in callPackage ../development/ocaml-modules/phylogenetics {