# Copyright 1999-2024 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: embed-files,-pedantic CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Haskell Language Server internal graph API" HOMEPAGE="https://github.com/haskell/haskell-language-server#readme" LICENSE="Apache-2.0" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="embed-files stm-stats" RDEPEND=" dev-haskell/aeson:=[profile?] >=dev-haskell/async-2.0:=[profile?] dev-haskell/extra:=[profile?] >=dev-haskell/focus-1.0.3.2:=[profile?] dev-haskell/hashable:=[profile?] dev-haskell/js-dgtable:=[profile?] dev-haskell/js-flot:=[profile?] dev-haskell/js-jquery:=[profile?] dev-haskell/list-t:=[profile?] dev-haskell/stm-containers:=[profile?] dev-haskell/text:=[profile?] dev-haskell/unliftio:=[profile?] dev-haskell/unordered-containers:=[profile?] >=dev-lang/ghc-9.0.2:= embed-files? ( >=dev-haskell/file-embed-0.0.11:=[profile?] ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.4.1.0 test? ( dev-haskell/hspec dev-haskell/tasty dev-haskell/tasty-hspec dev-haskell/tasty-hunit dev-haskell/tasty-rerun ) " src_configure() { haskell-cabal_src_configure \ $(cabal_flag embed-files embed-files) \ --flag=-pedantic \ $(cabal_flag stm-stats stm-stats) }