# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.9.0.0.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="A SPARQL query generator and DSL, and a client to query a SPARQL server"
HOMEPAGE="https://github.com/robstewart57/hsparql"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"

RESTRICT=test # needs network

RDEPEND="dev-haskell/crypton-connection:=[profile?]
	dev-haskell/data-default:=[profile?]
	>=dev-haskell/http-4:=[profile?]
	dev-haskell/http-client:=[profile?]
	dev-haskell/http-conduit:=[profile?]
	dev-haskell/http-types:=[profile?]
	dev-haskell/missingh:=[profile?]
	dev-haskell/network:=[profile?]
	dev-haskell/network-uri:=[profile?]
	>=dev-haskell/rdf4h-4.0.2:=[profile?]
	dev-haskell/text:=[profile?]
	dev-haskell/xml:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( dev-haskell/hunit
		dev-haskell/string-qq
		dev-haskell/test-framework
		dev-haskell/test-framework-hunit
		>=dev-haskell/wai-3.0.0
		>=dev-haskell/warp-3.0.1 )
"