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

EAPI=8

# ebuild generated by hackport 0.7.3.0

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

DESCRIPTION="Cryptography that's easy to digest (NaCl/libsodium bindings)"
HOMEPAGE="https://hackage.haskell.org/package/saltine"

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

RDEPEND="
	dev-haskell/hashable:=[profile?]
	>=dev-haskell/profunctors-5.3:=[profile?] <dev-haskell/profunctors-5.7:=[profile?]
	>=dev-lang/ghc-8.4.3:=
	>=dev-libs/libsodium-1.0.13
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-2.2.0.1
	test? (
		dev-haskell/quickcheck
		dev-haskell/semigroups
		dev-haskell/test-framework
		dev-haskell/test-framework-quickcheck2
	)
"
BDEPEND="
	virtual/pkgconfig
"