lol

ocamlPackages.biotk: init at 0.2.0

+67
+56
pkgs/development/ocaml-modules/biotk/default.nix
··· 1 + { lib 2 + , buildDunePackage 3 + , fetchurl 4 + , angstrom-unix 5 + , binning 6 + , ocaml-crunch 7 + , camlzip 8 + , core_kernel 9 + , core_unix 10 + , csvfields 11 + , fmt 12 + , gsl 13 + , ppx_csv_conv 14 + , ppx_deriving 15 + , rresult 16 + , tyxml 17 + , uri 18 + , vg 19 + }: 20 + 21 + buildDunePackage rec { 22 + pname = "biotk"; 23 + version = "0.2.0"; 24 + 25 + minimalOCamlVersion = "4.13"; 26 + 27 + src = fetchurl { 28 + url = "https://github.com/pveber/biotk/releases/download/v${version}/biotk-${version}.tbz"; 29 + hash = "sha256-FQvbVj5MmraSN6AmOckKgJ/LB14E/pCsPvPvNppcv7A="; 30 + }; 31 + 32 + nativeBuildInputs = [ ocaml-crunch ]; 33 + 34 + buildInputs = [ ppx_csv_conv ]; 35 + 36 + propagatedBuildInputs = [ 37 + angstrom-unix 38 + binning 39 + camlzip 40 + core_kernel 41 + core_unix 42 + csvfields 43 + fmt 44 + gsl 45 + ppx_deriving 46 + rresult 47 + tyxml 48 + uri 49 + vg 50 + ]; 51 + 52 + meta = { 53 + description = "Toolkit for bioinformatics in OCaml"; 54 + license = lib.licenses.cecill-c; 55 + }; 56 + }
+11
pkgs/top-level/ocaml-packages.nix
··· 92 92 93 93 biocaml = janeStreet_0_15.biocaml; 94 94 95 + biotk = janeStreet_0_15.biotk; 96 + 95 97 bisect_ppx = callPackage ../development/ocaml-modules/bisect_ppx { }; 96 98 97 99 bistro = callPackage ../development/ocaml-modules/bistro { }; ··· 819 821 in callPackage ../development/ocaml-modules/biocaml { 820 822 uri = self.uri.override { inherit angstrom; }; 821 823 cfstream = self.cfstream.override { inherit core_kernel; }; 824 + }; 825 + 826 + biotk = let 827 + angstrom = self.angstrom.override { inherit ppx_let; }; 828 + in callPackage ../development/ocaml-modules/biotk { 829 + angstrom-unix = self.angstrom-unix.override { inherit angstrom; }; 830 + ppx_deriving = self.ppx_deriving.override { inherit (jsDeps) ppxlib; }; 831 + uri = self.uri.override { inherit angstrom; }; 832 + vg = self.vg.override { htmlcBackend = false; }; 822 833 }; 823 834 824 835 phylogenetics = let