# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.9.0.0.9999 #hackport: flags: +aeson CABAL_FEATURES="lib profile haddock hoogle hscolour" # needs a port inherit haskell-cabal DESCRIPTION="HTTP client package with conduit interface and HTTPS support" HOMEPAGE="https://github.com/snoyberg/http-client" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" CABAL_CHDEPS=( 'warp >= 3.0.0.2 && < 3.4' 'warp >= 3.0.0.2' ) RESTRICT=test # needs network RDEPEND=">=dev-haskell/aeson-0.8:=[profile?] dev-haskell/attoparsec:=[profile?] >=dev-haskell/attoparsec-aeson-2.1:=[profile?] >=dev-haskell/conduit-1.2:=[profile?] >=dev-haskell/conduit-extra-1.1:=[profile?] >=dev-haskell/http-client-0.5.13:=[profile?] =dev-haskell/http-client-tls-0.3:=[profile?] =dev-haskell/http-types-0.7:=[profile?] >=dev-haskell/resourcet-1.1:=[profile?] dev-haskell/unliftio-core:=[profile?] >=dev-lang/ghc-9.0.2:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.4.1.0 " # test? ( dev-haskell/blaze-builder # dev-haskell/case-insensitive # dev-haskell/cookie # dev-haskell/crypton-connection # dev-haskell/data-default # >=dev-haskell/hspec-1.3 # dev-haskell/hunit # dev-haskell/network # dev-haskell/streaming-commons # dev-haskell/temporary # dev-haskell/text # dev-haskell/unliftio # dev-haskell/utf8-string # >=dev-haskell/wai-3.0 =dev-haskell/warp-3.0.0.2 # dev-haskell/warp-tls # || ( =dev-haskell/tls-1.5.2 ) ) src_configure() { haskell-cabal_src_configure \ --flag=aeson }