tmp-postgres-1.35.0.0_pre20230808haskell
download
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.8.4.0.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
# Test tries to fire up a temporary postgresql instance. Disabling.
RESTRICT=test
DESCRIPTION="Start and stop a temporary postgres"
HOMEPAGE="https://github.com/jfischoff/tmp-postgres#readme"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
GIT_REPO="https://github.com/jfischoff/${PN}"
GIT_COMMIT="7f2467a6d6d5f6db7eed59919a6773fe006cf22b"
GIT_P="${PN}-${GIT_COMMIT}"
SRC_URI="${GIT_REPO}/archive/${GIT_COMMIT}.tar.gz -> ${GIT_P}.tar.gz"
S="${WORKDIR}/${GIT_P}"
CABAL_FILE="${S}/${PN}.cabal"
PATCHES=( "${FILESDIR}/${PN}-1.34.1.0-disable-test-executables.patch" )
RDEPEND="
dev-haskell/async:=[profile?]
dev-haskell/base64-bytestring:=[profile?]
dev-haskell/cryptohash-sha1:=[profile?]
dev-haskell/generic-monoid:=[profile?]
dev-haskell/port-utils:=[profile?]
>=dev-haskell/postgres-options-0.2.0.0:=[profile?]
dev-haskell/postgresql-simple:=[profile?]
dev-haskell/prettyprinter:=[profile?]
dev-haskell/temporary:=[profile?]
>=dev-lang/ghc-8.10.6:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.2.1.0
test? (
dev-haskell/hspec
dev-haskell/network
)
"