dev-haskell/nothunks: new package, add 0.1.4-r1

Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
hololeap 2023-10-02 23:10:41 -06:00 committed by Sam James
parent 2178f73b32
commit 6d745456da
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST nothunks-0.1.4.tar.gz 18501 BLAKE2B 5f5bda104990dbecf7e313134d1d723f5ecb0dfb9b3abdb0ab68774f55e416b954720de7ccc449047f795cb03464c15cbf37dd4e20bdac71d0188f8fb76dc70e SHA512 6decd4bcc6c72c09c87692e772affeb4bb22d6312974bfb184567e399844d437bd4c68814f2f208d82a012498090a780958d138a946e907258e9a5d221a697c4

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<use>
<flag name="bytestring">Provide instances for bytestring</flag>
<flag name="text">Provide instances for text</flag>
<flag name="vector">Provide instances for vector</flag>
</use>
<upstream>
<remote-id type="hackage">nothunks</remote-id>
<remote-id type="github">input-output-hk/nothunks</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,51 @@
# 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
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Examine values for unexpected thunks"
HOMEPAGE="https://hackage.haskell.org/package/nothunks"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="+bytestring +text +vector"
CABAL_CHDEPS=(
'hedgehog >= 1.1 && < 1.3' 'hedgehog >= 1.1'
)
RDEPEND="
>=dev-lang/ghc-8.10.6:=
text? (
|| (
( >=dev-haskell/text-1.2 <dev-haskell/text-1.3 )
( >=dev-haskell/text-2 <dev-haskell/text-2.1 )
)
dev-haskell/text:=[profile?]
)
vector? (
>=dev-haskell/vector-0.12:=[profile?] <dev-haskell/vector-0.14:=[profile?]
)
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.2.1.0
test? (
>=dev-haskell/hedgehog-1.1
>=dev-haskell/random-1.1 <dev-haskell/random-1.3
>=dev-haskell/tasty-1.3 <dev-haskell/tasty-1.5
>=dev-haskell/tasty-hedgehog-1.1 <dev-haskell/tasty-hedgehog-1.5
)
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag bytestring bytestring) \
$(cabal_flag text text) \
$(cabal_flag vector vector)
}