blob: 01b2c813f2f87de66cc18db6e939d7eccb5cf40c (
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
|
{ lib, buildDunePackage, fetchurl
, fmt, mirage-flow, result, rresult, cstruct, logs, ke
, alcotest, alcotest-lwt, bigstringaf, bigarray-compat
}:
buildDunePackage rec {
pname = "mimic";
version = "0.0.1";
minimumOCamlVersion = "4.08";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/${pname}-${pname}-v${version}.tbz";
sha256 = "0j4l99sgm5mdmv67vakkz2pw45l6i89bpza88xqkgmskfk50c5pk";
};
# don't install changelogs for other packages
postPatch = ''
rm -f CHANGES.md CHANGES.carton.md
'';
propagatedBuildInputs = [
fmt
mirage-flow
result
rresult
cstruct
logs
];
doCheck = true;
checkInputs = [
alcotest
alcotest-lwt
bigstringaf
bigarray-compat
ke
];
meta = with lib; {
description = "A simple protocol dispatcher";
license = licenses.isc;
homepage = "https://github.com/mirage/ocaml-git";
maintainers = [ maintainers.sternenseemann ];
};
}
|