ocamlPackages.biotk: init at 0.2.0
This commit is contained in:
parent
fd728608d1
commit
15526d81c5
2 changed files with 67 additions and 0 deletions
56
pkgs/development/ocaml-modules/biotk/default.nix
Normal file
56
pkgs/development/ocaml-modules/biotk/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue