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

EAPI=8

# ebuild generated by hackport 0.7.1.1.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite"
inherit haskell-cabal
RESTRICT="test" # Failure due to different whitespace in expected output

DESCRIPTION="Tools for using markdown in a yesod application"
HOMEPAGE="https://github.com/pbrisbin/yesod-markdown"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"

RDEPEND=">=dev-haskell/pandoc-2.0:=[profile?]
	>=dev-haskell/blaze-html-0.5:=[profile?]
	>=dev-haskell/blaze-markup-0.5:=[profile?]
	>=dev-haskell/persistent-0.9:=[profile?]
	>=dev-haskell/shakespeare-2.0:=[profile?]
	>=dev-haskell/xss-sanitize-0.3.1:=[profile?]
	>=dev-haskell/yesod-core-1.2:=[profile?]
	>=dev-haskell/yesod-form-1.3:=[profile?]
	>=dev-lang/ghc-8.8.3:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.0.1.0"
#	test? ( >=dev-haskell/hspec-2.7.1 )