blob: b914e67b54c910b6106d01a56d7cf260f1c5f687 (
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
|
{
lib,
buildDunePackage,
gitlab,
cmdliner,
cohttp,
cohttp-lwt-unix,
tls,
lwt,
stringext,
alcotest,
}:
buildDunePackage {
pname = "gitlab-unix";
inherit (gitlab) version src;
minimalOCamlVersion = "4.08";
postPatch = ''
substituteInPlace unix/dune --replace-fail "gitlab bytes" "gitlab"
'';
buildInputs = [
cohttp
tls
stringext
];
propagatedBuildInputs = [
gitlab
cmdliner
cohttp-lwt-unix
lwt
];
checkInputs = [ alcotest ];
doCheck = true;
meta = gitlab.meta // {
description = "Gitlab APIv4 Unix library";
};
}
|