# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.8.0.0.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="Hashing and checking of passwords"
HOMEPAGE="https://github.com/cdepillabout/password/tree/master/password#readme"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"

RDEPEND=">=dev-haskell/base64-0.3:=[profile?] <dev-haskell/base64-0.5:=[profile?]
	>=dev-haskell/cryptonite-0.15.1:=[profile?]
	>=dev-haskell/memory-0.14:=[profile?]
	<dev-haskell/password-types-2:=[profile?]
	>=dev-lang/ghc-8.4.3:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-2.2.0.1
	>=dev-haskell/cabal-doctest-1.0.6 <dev-haskell/cabal-doctest-1.1
	test? ( dev-haskell/base-compat
		dev-haskell/doctest
		dev-haskell/quickcheck
		dev-haskell/quickcheck-instances
		dev-haskell/scrypt
		dev-haskell/tasty
		dev-haskell/tasty-hunit
		dev-haskell/tasty-quickcheck )
"