diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-07-30 09:43:44 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-01 09:01:29 +0100 |
commit | 17ac8d32d450d711faa4c56491b52821b125fe33 (patch) | |
tree | f6f60054026d4e7706970ef9e6427414e1fd53a2 /dev-haskell/microlens-th | |
parent | dev-haskell/persistent: bump up to 2.10.5.2 (diff) | |
download | gentoo-17ac8d32d450d711faa4c56491b52821b125fe33.tar.gz gentoo-17ac8d32d450d711faa4c56491b52821b125fe33.tar.bz2 gentoo-17ac8d32d450d711faa4c56491b52821b125fe33.zip |
dev-haskell/microlens-th: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/microlens-th')
-rw-r--r-- | dev-haskell/microlens-th/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/microlens-th/metadata.xml | 13 | ||||
-rw-r--r-- | dev-haskell/microlens-th/microlens-th-0.4.3.4.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-haskell/microlens-th/Manifest b/dev-haskell/microlens-th/Manifest new file mode 100644 index 000000000000..c9d05599b46a --- /dev/null +++ b/dev-haskell/microlens-th/Manifest @@ -0,0 +1 @@ +DIST microlens-th-0.4.3.4.tar.gz 21662 BLAKE2B 0c228791dae5b4ab10bd47d574b2dfc1a9bd046ee7941ba15be02d5c60f78f495c719ab64cd74434734c7a7ee1ca67eb083621319325bb3fbd518a1a36c1aa90 SHA512 456d0cfe6f93a4adb8c5d0004983bcc7906f8750787eecd2ccbb9063d3e63da824c1bec29f81b37485aeebc356baa478bc26cc439e45ec03642f2d61217cbb7f diff --git a/dev-haskell/microlens-th/metadata.xml b/dev-haskell/microlens-th/metadata.xml new file mode 100644 index 000000000000..66694ad55ecf --- /dev/null +++ b/dev-haskell/microlens-th/metadata.xml @@ -0,0 +1,13 @@ +<?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> + This package lets you automatically generate lenses for data types; code was extracted from the lens package, and therefore generated lenses are fully compatible with ones generated by lens (and can be used both from lens and microlens). + + This package is a part of the <http://hackage.haskell.org/package/microlens microlens> family; see the readme <https://github.com/aelve/microlens#readme on Github>. + </longdescription> +</pkgmetadata> diff --git a/dev-haskell/microlens-th/microlens-th-0.4.3.4.ebuild b/dev-haskell/microlens-th/microlens-th-0.4.3.4.ebuild new file mode 100644 index 000000000000..8469da80b613 --- /dev/null +++ b/dev-haskell/microlens-th/microlens-th-0.4.3.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Automatic generation of record lenses for microlens" +HOMEPAGE="https://github.com/monadfix/microlens" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/microlens-0.4.0:=[profile?] <dev-haskell/microlens-0.5:=[profile?] + >=dev-haskell/th-abstraction-0.2.1:=[profile?] <dev-haskell/th-abstraction-0.4:=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 +" + +src_prepare() { + default + + cabal_chdeps \ + 'template-haskell >=2.7 && <2.16' 'template-haskell >=2.7' +} |