Install this version:
emerge -a =dev-ml/mirage-crypto-2.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/mirage-crypto-2.1.0
Or alternatively:
emerge --autounmask-write -a =dev-ml/mirage-crypto-2.1.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.1.0 | 8 | ~amd64 | 0/2.1.0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# mirage-crypto-rng-mkernel needs mkernel
DUNE_PKG_NAME="mirage-crypto mirage-crypto-ec mirage-crypto-pk
mirage-crypto-rng mirage-crypto-rng-mirage mirage-crypto-rng-miou-unix"
inherit dune
DESCRIPTION="Simple symmetric cryptography for the modern age"
HOMEPAGE="https://github.com/mirage/mirage-crypto"
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/digestif:0=[ocamlopt?]
dev-ml/duration:0=[ocamlopt?]
dev-ml/eqaf:0=[ocamlopt?]
dev-ml/logs:0=[ocamlopt?]
dev-ml/lwt:0=[ocamlopt?]
dev-ml/mirage:0=[ocamlopt?]
dev-ml/mirage-mtime:0=[ocamlopt?]
dev-ml/mirage-sleep:0=[ocamlopt?]
dev-ml/mirage-unix:0=[ocamlopt?]
dev-ml/miou:0=[ocamlopt?]
dev-ml/mtime:0=
dev-ml/zarith:0=[ocamlopt?]"
DEPEND="dev-libs/gmp:0=
${RDEPEND}"
BDEPEND="dev-ml/dune-configurator
test? ( dev-ml/alcotest
dev-ml/asn1-combinators
dev-ml/ohex
dev-ml/ounit2
dev-ml/ppx_deriving
dev-ml/ppx_deriving_yojson
dev-ml/randomconv
dev-ml/yojson )"
src_compile() {
dune-compile ${DUNE_PKG_NAME}
}
src_test() {
dune-test ${DUNE_PKG_NAME}
}
Manage flags for this package:
euse -i <flag> -p dev-ml/mirage-crypto |
euse -E <flag> -p dev-ml/mirage-crypto |
euse -D <flag> -p dev-ml/mirage-crypto
dev-libs/gmp:0= dev-ml/digestif:0=[ocamlopt?] dev-ml/duration:0=[ocamlopt?] dev-ml/eqaf:0=[ocamlopt?] dev-ml/logs:0=[ocamlopt?] dev-ml/lwt:0=[ocamlopt?] dev-ml/mirage:0=[ocamlopt?] dev-ml/mirage-mtime:0=[ocamlopt?] dev-ml/mirage-sleep:0=[ocamlopt?] dev-ml/mirage-unix:0=[ocamlopt?] dev-ml/miou:0=[ocamlopt?] dev-ml/mtime:0= dev-ml/zarith:0=[ocamlopt?]
dev-ml/digestif:0=[ocamlopt?] dev-ml/duration:0=[ocamlopt?] dev-ml/eqaf:0=[ocamlopt?] dev-ml/logs:0=[ocamlopt?] dev-ml/lwt:0=[ocamlopt?] dev-ml/mirage:0=[ocamlopt?] dev-ml/mirage-mtime:0=[ocamlopt?] dev-ml/mirage-sleep:0=[ocamlopt?] dev-ml/mirage-unix:0=[ocamlopt?] dev-ml/miou:0=[ocamlopt?] dev-ml/mtime:0= dev-ml/zarith:0=[ocamlopt?]
dev-ml/dune-configurator test? ( dev-ml/alcotest dev-ml/asn1-combinators dev-ml/ohex dev-ml/ounit2 dev-ml/ppx_deriving dev-ml/ppx_deriving_yojson dev-ml/randomconv dev-ml/yojson )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | mirage-crypto-2.1.0.tar.gz | 3427742 bytes | https://github.com/mirage/mirage-crypto/archive/v2.1.0.tar.gz |