Skip to content

Commit

Permalink
ocamlPackages.fiber: unstable-2023-02-28 -> 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam authored and vbgl committed Nov 30, 2023
1 parent afb4280 commit bb9f1fc
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions pkgs/development/ocaml-modules/fiber/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit bb9f1fc

Please sign in to comment.