Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 angstrom-unix, 6 binning, 7 ocaml-crunch, 8 camlzip, 9 core_kernel, 10 core_unix ? null, 11 csvfields ? null, 12 fmt, 13 gsl, 14 ppx_csv_conv ? null, 15 ppx_deriving, 16 rresult, 17 tyxml, 18 uri, 19 vg, 20}: 21 22buildDunePackage rec { 23 pname = "biotk"; 24 version = "0.3"; 25 26 minimalOCamlVersion = "4.13"; 27 28 src = fetchurl { 29 url = "https://github.com/pveber/biotk/releases/download/v${version}/biotk-${version}.tbz"; 30 hash = "sha256-9eRd3qYteUxu/xNEUER/DHodr6cTCuPtSKr38x32gig="; 31 }; 32 33 nativeBuildInputs = [ ocaml-crunch ]; 34 35 buildInputs = [ ppx_csv_conv ]; 36 37 propagatedBuildInputs = [ 38 angstrom-unix 39 binning 40 camlzip 41 core_kernel 42 core_unix 43 csvfields 44 fmt 45 gsl 46 ppx_deriving 47 rresult 48 tyxml 49 uri 50 vg 51 ]; 52 53 meta = { 54 description = "Toolkit for bioinformatics in OCaml"; 55 license = lib.licenses.cecill-c; 56 }; 57}