Unverified Commit dc08192b authored by Wolfgang E. Sanyer's avatar Wolfgang E. Sanyer
Browse files

dev-haskell/multistate: new package, dep of brittany


Signed-off-by: default avatarWolfgang E. Sanyer <WolfgangESanyer@gmail.com>
parent c76c39a0
DIST multistate-0.8.0.3.tar.gz 21505 BLAKE2B aa443171bc035504b4bc340b63d9aaaa42c9b848ddb63d0c7471f256946335fef797938c9078580d446d787ccb9fff3333c00c05b1ee8303b39781c7c2a82313 SHA512 e4405dfae45f3d7ca04f93871d6c29750390a1058c293561b681b792c31e2b44cac9ff09f3baab8b470858375a30e586d47ba64b72d2861ad6407ac124ca2ce5
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<use>
<flag name="build-example">Build the MultiState-example example program</flag>
</use>
<longdescription>
When using multiple Read\/Write\/State transformers in the same monad stack,
it becomes necessary to lift the operations in order to affect a specific
transformer.
Using heterogeneous lists (and all kinds of GHC extensions magic),
this package provides transformers that remove that necessity:
MultiReaderT\/MultiWriterT\/MultiStateT\/MultiRWST can contain a
heterogeneous list of values.
See the &lt;https://github.com/lspitzner/multistate README&gt; for
a longer description.
</longdescription>
</pkgmetadata>
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.6.7.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="like mtl's ReaderT / WriterT / StateT, but more than one contained value/type"
HOMEPAGE="https://github.com/lspitzner/multistate"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="build-example"
RDEPEND=">=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
>=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
>=dev-haskell/tagged-0.7:=[profile?] <dev-haskell/tagged-0.9:=[profile?]
<dev-haskell/transformers-base-0.5:=[profile?]
>=dev-lang/ghc-8.4.3:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.2.0.1
test? ( >=dev-haskell/hspec-2 <dev-haskell/hspec-2.8 )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag build-example build-example)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment