about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/bistro/default.nix
blob: fd409b51091d6138742de1f3faaf71b7668cab4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{ lib
, ocaml
, fetchpatch
, fetchFromGitHub
, buildDunePackage
, base64
, bos
, core
, core_kernel
, core_unix ? null
, lwt_react
, ocamlgraph
, ppx_sexp_conv
, rresult
, sexplib
, tyxml
}:

buildDunePackage rec {
  pname = "bistro";
  version = "unstable-2022-05-07";

  duneVersion = "3";

  src = fetchFromGitHub {
    owner = "pveber";
    repo = pname;
    rev = "d363bd2d8257babbcb6db15bd83fd6465df7c268";
    sha256 = "0g11324j1s2631zzf7zxc8s0nqd4fwvcni0kbvfpfxg96gy2wwfm";
  };

  patches = [ ./janestreet-0.16.patch ];

  propagatedBuildInputs = [
    base64
    bos
    core
    core_kernel
    core_unix
    lwt_react
    ocamlgraph
    ppx_sexp_conv
    rresult
    sexplib
    tyxml
  ];

  minimalOCamlVersion = "4.12";

  meta = {
    inherit (src.meta) homepage;
    description = "Build and execute typed scientific workflows";
    maintainers = [ lib.maintainers.vbgl ];
    license = lib.licenses.gpl2;
  };
}