--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="First class accessor labels implemented as lenses"
+HOMEPAGE="https://github.com/sebastiaanvisser/fclabels"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/mtl-1.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.4 )
+"
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ This package provides first class labels that can act as
+ bidirectional record fields. The labels can be derived
+ automatically using Template Haskell which means you don't have
+ to write any boilerplate yourself. The labels are implemented as
+ lenses and are fully composable. Labels can be used to /get/,
+ /set/ and /modify/ parts of a datatype in a consistent way.
+
+ See "Data.Label" for an introductory explanation.
+
+ Internally lenses are not tied to Haskell functions directly,
+ but are implemented as arrows. Arrows allow the lenses to be run
+ in custom computational contexts. This approach allows us to
+ make partial lenses that point to fields of multi-constructor
+ datatypes in an elegant way.
+
+ See the "Data.Label.Maybe" module for the use of partial labels.
+
+ > 1.0.3 -> 1.0.4
+ > - Bugfix to compile on GHC 6.12 again.
+ </longdescription>
+</pkgmetadata>