dev-ml/cohttp - 6.2.1 (nest)

Search

Install

Install this version:

emerge -a =dev-ml/cohttp-6.2.1

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

autounmask =dev-ml/cohttp-6.2.1

Or alternatively:

emerge --autounmask-write -a =dev-ml/cohttp-6.2.1

Package Information

Description:
OCaml library for HTTP clients and servers
Homepage:
https://github.com/mirage/ocaml-cohttp
License:
ISC

Ebuild Details

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

EAPI=8

DUNE_PKG_NAME="cohttp cohttp-async cohttp-bench cohttp-curl cohttp-curl-async
	cohttp-curl-lwt cohttp-eio cohttp-lwt cohttp-lwt-jsoo cohttp-lwt-unix
	cohttp-mirage cohttp-server-lwt-unix cohttp-top http"

inherit dune edo

DESCRIPTION="OCaml library for HTTP clients and servers"
HOMEPAGE="https://github.com/mirage/ocaml-cohttp"
SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/v${PV}/${P}.tbz"

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

RDEPEND="dev-ml/astring:0=
	dev-ml/async:0=[ocamlopt?]
	dev-ml/async_kernel:0=[ocamlopt?]
	dev-ml/async_unix:0=[ocamlopt?]
	dev-ml/base:0=[ocamlopt?]
	dev-ml/cmdliner:0=[ocamlopt?]
	dev-ml/conduit:0=[ocamlopt?]
	dev-ml/core:0=[ocamlopt?]
	dev-ml/core_bench:0=[ocamlopt?]
	dev-ml/core_unix:0=[ocamlopt?]
	dev-ml/crowbar:0=[ocamlopt?]
	dev-ml/cstruct:0=[ocamlopt?]
	dev-ml/ocurl:0=[ocamlopt?]
	dev-ml/eio:0=[ocamlopt?]
	dev-ml/fmt:0=[ocamlopt?]
	dev-ml/ipaddr:0=[ocamlopt?]
	dev-ml/js_of_ocaml:0=[ocamlopt?]
	dev-ml/logs:0=[ocamlopt?]
	dev-ml/lwt:0=[ocamlopt?]
	dev-ml/magic-mime:0=[ocamlopt?]
	dev-ml/mirage-channel:0=[ocamlopt?]
	dev-ml/mirage-flow:0=[ocamlopt?]
	dev-ml/mirage-kv:0=[ocamlopt?]
	dev-ml/ocaml-base64:0=[ocamlopt?]
	dev-ml/ptime:0=[ocamlopt?]
	dev-ml/ppx_expect:0=[ocamlopt?]
	dev-ml/ppx_sexp_conv:0=[ocamlopt?]
	dev-ml/re:0=[ocamlopt?]
	dev-ml/sexplib0:0=[ocamlopt?]
	dev-ml/stringext[ocamlopt?]
	dev-ml/uri[ocamlopt?]"
BDEPEND="test? ( dev-ml/alcotest
		dev-ml/base_quickcheck
		dev-ml/ca-certs
		dev-ml/core_kernel
		dev-ml/crowbar
		dev-ml/digestif
		dev-ml/mdx
		dev-ml/mirage-crypto
		dev-ml/ounit2
		dev-ml/ppx_assert
		dev-ml/ppx_compare
		dev-ml/ppx_expect
		dev-ml/ppx_here
		dev-ml/tls
		net-libs/nodejs )"

src_prepare() {
	default

	# remove fuzzers
	edo rm -rf http/fuzz
}

USE Flags

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

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

edo

Dependencies

RDEPEND

dev-ml/astring:0=
	dev-ml/async:0=[ocamlopt?]
	dev-ml/async_kernel:0=[ocamlopt?]
	dev-ml/async_unix:0=[ocamlopt?]
	dev-ml/base:0=[ocamlopt?]
	dev-ml/cmdliner:0=[ocamlopt?]
	dev-ml/conduit:0=[ocamlopt?]
	dev-ml/core:0=[ocamlopt?]
	dev-ml/core_bench:0=[ocamlopt?]
	dev-ml/core_unix:0=[ocamlopt?]
	dev-ml/crowbar:0=[ocamlopt?]
	dev-ml/cstruct:0=[ocamlopt?]
	dev-ml/ocurl:0=[ocamlopt?]
	dev-ml/eio:0=[ocamlopt?]
	dev-ml/fmt:0=[ocamlopt?]
	dev-ml/ipaddr:0=[ocamlopt?]
	dev-ml/js_of_ocaml:0=[ocamlopt?]
	dev-ml/logs:0=[ocamlopt?]
	dev-ml/lwt:0=[ocamlopt?]
	dev-ml/magic-mime:0=[ocamlopt?]
	dev-ml/mirage-channel:0=[ocamlopt?]
	dev-ml/mirage-flow:0=[ocamlopt?]
	dev-ml/mirage-kv:0=[ocamlopt?]
	dev-ml/ocaml-base64:0=[ocamlopt?]
	dev-ml/ptime:0=[ocamlopt?]
	dev-ml/ppx_expect:0=[ocamlopt?]
	dev-ml/ppx_sexp_conv:0=[ocamlopt?]
	dev-ml/re:0=[ocamlopt?]
	dev-ml/sexplib0:0=[ocamlopt?]
	dev-ml/stringext[ocamlopt?]
	dev-ml/uri[ocamlopt?]

BDEPEND

test? ( dev-ml/alcotest
		dev-ml/base_quickcheck
		dev-ml/ca-certs
		dev-ml/core_kernel
		dev-ml/crowbar
		dev-ml/digestif
		dev-ml/mdx
		dev-ml/mirage-crypto
		dev-ml/ounit2
		dev-ml/ppx_assert
		dev-ml/ppx_compare
		dev-ml/ppx_expect
		dev-ml/ppx_here
		dev-ml/tls
		net-libs/nodejs )

Manifest for 6.2.1

Type File Size Source URLs
DIST cohttp-6.2.1.tbz 148116 bytes https://github.com/mirage/ocaml-cohttp/releases/download/v6.2.1/cohttp-6.2.1.tbz