# 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: gsl-example:examples CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Write Haskell source files including C code inline. No FFI required" HOMEPAGE="https://hackage.haskell.org/package/inline-c" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="examples" RDEPEND="dev-haskell/hashable:=[profile?] >=dev-haskell/parsec-3:=[profile?] dev-haskell/parsers:=[profile?] >=dev-haskell/prettyprinter-1.7:=[profile?] dev-haskell/unordered-containers:=[profile?] dev-haskell/vector:=[profile?] >=dev-lang/ghc-8.10.6:= examples? ( sci-libs/gsl virtual/libc ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.2.1.0 test? ( >=dev-haskell/hspec-2 dev-haskell/quickcheck dev-haskell/raw-strings-qq dev-haskell/regex-posix dev-haskell/split ) " src_configure() { haskell-cabal_src_configure \ $(cabal_flag examples gsl-example) }