dev-ml/fiber - 3.7.0 (nest)

Search

Install

Install this version:

emerge -a =dev-ml/fiber-3.7.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ml/fiber-3.7.0

Or alternatively:

emerge --autounmask-write -a =dev-ml/fiber-3.7.0

Package Information

Description:
Dune's monadic structured concurrency library
Homepage:
https://github.com/ocaml-dune/fiber
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.7.0 8 ~amd64 0/3.7.0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DUNE_PKG_NAME="fiber fiber-lwt"

inherit dune

DESCRIPTION="Dune's monadic structured concurrency library"
HOMEPAGE="https://github.com/ocaml-dune/fiber"
SRC_URI="https://github.com/ocaml-dune/fiber/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

RDEPEND="dev-ml/dune-private-libs:0=[ocamlopt?]
	dev-ml/lwt:0=[ocamlopt?]"
BDEPEND="test? ( >=dev-ml/ppx_expect-0.17 )"

PATCHES=( "${FILESDIR}/${PN}"-3.7.0-tests.patch )

src_prepare() {
	default

	# remove non-existed dependency
	sed -i '/ppx_expect.common/d' fiber/test/dune || die "sed failed"
}

src_compile() {
	dune-compile ${DUNE_PKG_NAME}
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ml/fiber | euse -E <flag> -p dev-ml/fiber | euse -D <flag> -p dev-ml/fiber

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

dev-ml/dune-private-libs:0=[ocamlopt?]
	dev-ml/lwt:0=[ocamlopt?]

BDEPEND

test? ( >=dev-ml/ppx_expect-0.17 )

Manifest for 3.7.0

Type File Size Source URLs
DIST fiber-3.7.0.tar.gz 26564 bytes https://github.com/ocaml-dune/fiber/archive/3.7.0.tar.gz