1{
2 buildDunePackage,
3 carton,
4 lwt,
5 decompress,
6 optint,
7 bigstringaf,
8 alcotest,
9 alcotest-lwt,
10 cstruct,
11 fmt,
12 logs,
13 mirage-flow,
14 result,
15 rresult,
16 ke,
17 base64,
18 bos,
19 checkseum,
20 digestif,
21 fpath,
22 stdlib-shims,
23 git-binary, # pkgs.git
24}:
25
26buildDunePackage {
27 pname = "carton-lwt";
28
29 inherit (carton) version src postPatch;
30 duneVersion = "3";
31
32 propagatedBuildInputs = [
33 carton
34 lwt
35 decompress
36 optint
37 bigstringaf
38 ];
39
40 # Tests fail with git 2.41
41 # see https://github.com/mirage/ocaml-git/issues/617
42 doCheck = false;
43 nativeCheckInputs = [
44 git-binary
45 ];
46 checkInputs = [
47 alcotest
48 alcotest-lwt
49 cstruct
50 fmt
51 logs
52 mirage-flow
53 result
54 rresult
55 ke
56 base64
57 bos
58 checkseum
59 digestif
60 fpath
61 stdlib-shims
62 ];
63
64 inherit (carton) meta;
65}