summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/emojis/Manifest1
-rw-r--r--dev-haskell/emojis/emojis-0.1.ebuild24
-rw-r--r--dev-haskell/emojis/metadata.xml22
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-haskell/emojis/Manifest b/dev-haskell/emojis/Manifest
new file mode 100644
index 000000000000..95fd69c11692
--- /dev/null
+++ b/dev-haskell/emojis/Manifest
@@ -0,0 +1 @@
+DIST emojis-0.1.tar.gz 36219 BLAKE2B d77008408436a37400f5a325bd3e80721226c5bf127266c96a5919dd0249d94827140285a02ecabeb6ceca273eec37e06aac86636da899b2806c7b8b825bd445 SHA512 587c67bff3f77c362b16c93889762a9aad6fb5250c0bced45f5053f59dd6a11ab2886e53f286bbc4de2b8793be133708b1f9c5d4d52bcef1820f5a7c1ecfa7d2
diff --git a/dev-haskell/emojis/emojis-0.1.ebuild b/dev-haskell/emojis/emojis-0.1.ebuild
new file mode 100644
index 000000000000..c070a220f9cc
--- /dev/null
+++ b/dev-haskell/emojis/emojis-0.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Conversion between emoji characters and their names."
+HOMEPAGE="https://github.com/jgm/emojis#readme"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/text:=[profile?]
+ >=dev-lang/ghc-7.10.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+ test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 )
+"
diff --git a/dev-haskell/emojis/metadata.xml b/dev-haskell/emojis/metadata.xml
new file mode 100644
index 000000000000..9b9c355c0ab3
--- /dev/null
+++ b/dev-haskell/emojis/metadata.xml
@@ -0,0 +1,22 @@
+<?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 provides functions for converting
+ emoji names to emoji characters and vice versa.
+
+ How does it differ from the @emoji@ package?
+
+ - It supports a fuller range of emojis, including all those
+ supported by GitHub
+ - It supports lookup of emoji aliases from emoji
+ - It uses Text rather than String
+ - It has a lighter dependency footprint: in particular, it
+ does not require aeson
+ - It does not require TemplateHaskell
+ </longdescription>
+</pkgmetadata>