Files
nixpkgs/pkgs/development/ocaml-modules/fiber/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
697 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 = {
description = "Structured concurrency library";
homepage = "https://github.com/ocaml-dune/fiber";
maintainers = [ ];
license = lib.licenses.mit;
};
}