5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
32 lines
685 B
Nix
32 lines
685 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, dyn
|
|
, fetchurl
|
|
, ppx_expect
|
|
, stdune
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "fiber";
|
|
version = "3.7.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ocaml-dune/fiber/releases/download/${version}/fiber-lwt-${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 = with lib; {
|
|
description = "Structured concurrency library";
|
|
homepage = "https://github.com/ocaml-dune/fiber";
|
|
maintainers = [ ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|