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

https://github.com/ocaml-dune/fiber/releases/tag/3.7.0

Changed files
+18 -9
pkgs
development
ocaml-modules
fiber
+18 -9
pkgs/development/ocaml-modules/fiber/default.nix
···
-
{ 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 ];
-
buildInputs = [ stdune dyn ];
+
# Tests are Ocaml version dependent
+
# https://github.com/ocaml-dune/fiber/issues/27
+
doCheck = false;
meta = with lib; {
description = "Structured concurrency library";