blob: fc9eafe6d0882ed46062887e9ee03184e022715a (
plain)
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
|
{
lib,
buildDunePackage,
dyn,
fetchurl,
ppx_expect,
stdune,
}:
buildDunePackage (finalAttrs: {
pname = "fiber";
version = "3.7.0";
src = fetchurl {
url = "https://github.com/ocaml-dune/fiber/releases/download/${finalAttrs.version}/fiber-lwt-${finalAttrs.version}.tbz";
hash = "sha256-hkihWuk/5pQpmc42iHQpo5E7YoKcRxTlIMwOehw7loI=";
};
buildInputs = [
stdune
dyn
];
checkInputs = [ ppx_expect ];
# Tests are Ocaml version dependent
# https://github.com/ocaml-dune/fiber/issues/27
doCheck = false;
meta = {
description = "Structured concurrency library";
homepage = "https://github.com/ocaml-dune/fiber";
maintainers = [ ];
license = lib.licenses.mit;
};
})
|