# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.8.4.0.9999 CABAL_HACKAGE_REVISION=8 CABAL_PN="JuicyPixels-blurhash" CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Blurhash is a very compact representation of a placeholder for an image" HOMEPAGE="https://github.com/SamProtas/JuicyPixels-blurhash#readme" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="executable" CABAL_CHDEPS=( 'doctest >=0.16.2 && <0.20' 'doctest >=0.16.2' 'tasty-hedgehog >=1.0.0.2 && <1.2' 'tasty-hedgehog >=1.0.0.2' 'hedgehog >=1.0.2 && <1.2' 'hedgehog >=1.0.2' 'optparse-applicative >=0.14.3 && <0.18' 'optparse-applicative >=0.14.3' ) PATCHES=( "${FILESDIR}/${PN}-0.1.0.3-add-executable-flag.patch" ) RDEPEND=" >=dev-haskell/juicypixels-3.2.8:=[profile?] =dev-haskell/vector-0.10:=[profile?] =dev-lang/ghc-8.10.6:= executable? ( >=dev-haskell/optparse-applicative-0.14.3:=[profile?] ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.2.1.0 test? ( >=dev-haskell/doctest-0.16.2 >=dev-haskell/glob-0.10 =dev-haskell/hedgehog-1.0.2 >=dev-haskell/tasty-1.2.3 =dev-haskell/tasty-discover-4.2.1 =dev-haskell/tasty-hedgehog-1.0.0.2 >=dev-haskell/tasty-hunit-0.10.0.2