| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.3.0.1 | 8 | ~amd64 | 0/1.3.0.1 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.9.0.0.9999
CABAL_HACKAGE_REVISION=4
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Memory-hard password hash and proof-of-work function"
HOMEPAGE="https://hackage.haskell.org/package/argon2"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="non-optimised-c +pkg-config system-library"
CABAL_CHDEPS=(
'QuickCheck == 2.11.*' 'QuickCheck >= 2.11'
'tasty == 1.0.*' 'tasty >= 1.0'
'bytestring >= 0.10.0.0 && < 0.12.0.0' 'bytestring >= 0.10'
'deepseq == 1.4.*' 'deepseq >= 1.4'
'base >= 4.8 && < 4.18' 'base >= 4.8'
)
RDEPEND=">=dev-haskell/text-short-0.1.2:=[profile?] <dev-haskell/text-short-0.2:=[profile?]
>=dev-lang/ghc-9.0.2:=
system-library? ( app-crypt/argon2 )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? ( >=dev-haskell/quickcheck-2.11
>=dev-haskell/tasty-1.0
>=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11
>=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 )
pkg-config? ( system-library? ( virtual/pkgconfig ) )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag non-optimised-c non-optimised-c) \
$(cabal_flag pkg-config pkg-config) \
$(cabal_flag system-library use-system-library)
}
>=dev-haskell/text-short-0.1.2:=[profile?] <dev-haskell/text-short-0.2:=[profile?] >=dev-lang/ghc-9.0.2:= system-library? ( app-crypt/argon2 ) >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/quickcheck-2.11 >=dev-haskell/tasty-1.0 >=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 ) pkg-config? ( system-library? ( virtual/pkgconfig ) )
>=dev-haskell/text-short-0.1.2:=[profile?] <dev-haskell/text-short-0.2:=[profile?] >=dev-lang/ghc-9.0.2:= system-library? ( app-crypt/argon2 )