--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Generic Programming using True Sums of Products"
+HOMEPAGE="http://hackage.haskell.org/package/generics-sop"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.6:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+"
--- /dev/null
+<?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>
+ <longdescription>
+ A library to support the definition of generic functions.
+ Datatypes are viewed in a uniform, structured way:
+ the choice between constructors is represented using an n-ary
+ sum, and the arguments of each constructor are represented using
+ an n-ary product.
+
+ The module "Generics.SOP" is the main module of this library and contains
+ more detailed documentation.
+
+ Examples of using this library are provided by the following
+ packages:
+
+ * @<https://hackage.haskell.org/package/basic-sop basic-sop>@ basic examples,
+
+ * @<https://hackage.haskell.org/package/pretty-sop pretty-sop>@ generic pretty printing,
+
+ * @<https://hackage.haskell.org/package/lens-sop lens-sop>@ generically computed lenses,
+
+ * @<https://hackage.haskell.org/package/json-sop json-sop>@ generic JSON conversions.
+
+ A detailed description of the ideas behind this library is provided by
+ the paper:
+
+ * Edsko de Vries and Andres Löh.
+ <http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products>.
+ Workshop on Generic Programming (WGP) 2014.
+
+ </longdescription>
+</pkgmetadata>