nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildDunePackage
3, fetchurl
4, angstrom-unix
5, binning
6, ocaml-crunch
7, camlzip
8, core_kernel
9, core_unix ? null
10, csvfields ? null
11, fmt
12, gsl
13, ppx_csv_conv ? null
14, ppx_deriving
15, rresult
16, tyxml
17, uri
18, vg
19}:
20
21buildDunePackage rec {
22 pname = "biotk";
23 version = "0.3";
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-9eRd3qYteUxu/xNEUER/DHodr6cTCuPtSKr38x32gig=";
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}