Install this version:
emerge -a =dev-haskell/base16-2.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-haskell/base16-2.0
Or alternatively:
emerge --autounmask-write -a =dev-haskell/base16-2.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.9.1.0.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Fast RFC 4648-compliant Base16 encoding"
HOMEPAGE="https://github.com/emilypi/base16"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="simd"
RDEPEND=">=dev-haskell/primitive-0.6:=[profile?] <dev-haskell/primitive-0.10:=[profile?]
>=dev-haskell/text-2.0:=[profile?] <dev-haskell/text-2.3:=[profile?]
>=dev-haskell/text-short-0.1:=[profile?] <dev-haskell/text-short-0.2:=[profile?]
>=dev-lang/ghc-9.6.2:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.10.1.0
test? ( >=dev-haskell/base16-bytestring-1.0
dev-haskell/quickcheck
dev-haskell/random-bytestring
dev-haskell/tasty
dev-haskell/tasty-hunit
dev-haskell/tasty-quickcheck )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag simd simd)
}
Manage flags for this package:
euse -i <flag> -p dev-haskell/base16 |
euse -E <flag> -p dev-haskell/base16 |
euse -D <flag> -p dev-haskell/base16
>=dev-haskell/primitive-0.6:=[profile?] <dev-haskell/primitive-0.10:=[profile?] >=dev-haskell/text-2.0:=[profile?] <dev-haskell/text-2.3:=[profile?] >=dev-haskell/text-short-0.1:=[profile?] <dev-haskell/text-short-0.2:=[profile?] >=dev-lang/ghc-9.6.2:= >=dev-haskell/cabal-3.10.1.0 test? ( >=dev-haskell/base16-bytestring-1.0 dev-haskell/quickcheck dev-haskell/random-bytestring dev-haskell/tasty dev-haskell/tasty-hunit dev-haskell/tasty-quickcheck )
>=dev-haskell/primitive-0.6:=[profile?] <dev-haskell/primitive-0.10:=[profile?] >=dev-haskell/text-2.0:=[profile?] <dev-haskell/text-2.3:=[profile?] >=dev-haskell/text-short-0.1:=[profile?] <dev-haskell/text-short-0.2:=[profile?] >=dev-lang/ghc-9.6.2:=