# 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 #hackport: flags: -dev CABAL_HACKAGE_REVISION=2 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="A formatter for Haskell source code" HOMEPAGE="https://github.com/fourmolu/fourmolu" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="examples executable +internal-bundle-fixities" PATCHES=( "${FILESDIR}/${PN}-0.13.1.0-add-executable-flag.patch" ) CABAL_CHDEPS=( 'text >=2.0 && <3.0' 'text >=1.0 && <3.0' ) TEST_REQUIRED_BINS=( "${PN}" ) RDEPEND=" >=dev-haskell/aeson-1.0:=[profile?] =dev-haskell/ansi-terminal-0.10:=[profile?] =dev-haskell/cabal-syntax-3.8:=[profile?] =dev-haskell/diff-0.4:=[profile?] =dev-haskell/dlist-0.8:=[profile?] =dev-haskell/file-embed-0.0.15:=[profile?] =dev-haskell/ghc-lib-parser-9.4:=[profile?] =dev-haskell/megaparsec-9.0:=[profile?] >=dev-haskell/memotrie-0.6:=[profile?] =dev-haskell/syb-0.7:=[profile?] =dev-haskell/text-1.0:=[profile?] =dev-haskell/yaml-0.11.6.0:=[profile?] =dev-lang/ghc-9.0:= executable? ( >=dev-haskell/optparse-applicative-0.14:=[profile?] =dev-haskell/th-env-0.1.1:=[profile?]