ocamlPackages.fiber: unstable-2023-02-28 -> 3.7.0

https://github.com/ocaml-dune/fiber/releases/tag/3.7.0
This commit is contained in:
Mario Rodas 2023-11-15 04:20:00 +00:00 committed by Vincent Laporte
parent afb42800d0
commit bb9f1fc46e

View File

@ -1,20 +1,29 @@
{ lib, buildDunePackage, fetchFromGitHub, stdune, dyn }:
{ lib
, buildDunePackage
, dyn
, fetchurl
, ocaml
, ppx_expect
, stdune
}:
buildDunePackage rec {
pname = "fiber";
version = "unstable-2023-02-28";
version = "3.7.0";
src = fetchFromGitHub {
owner = "ocaml-dune";
repo = "fiber";
rev = "5563b588c1313f128eafa74d66f0626c9128d34d";
hash = "sha256-18GfGXpu+uiIiCuLhIx5z5jRkem1nNWaQB6Ms0AE9sE=";
src = fetchurl {
url = "https://github.com/ocaml-dune/fiber/releases/download/${version}/fiber-lwt-${version}.tbz";
hash = "sha256-hkihWuk/5pQpmc42iHQpo5E7YoKcRxTlIMwOehw7loI=";
};
duneVersion = "3";
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";