diff options
author | pho <pho@pkgsrc.org> | 2020-01-15 11:53:16 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2020-01-15 11:53:16 +0000 |
commit | 069a1d54b74275dafe12c9aec8b7dfd990289d4f (patch) | |
tree | 9f55c027ae8ba46744272b0ce414b2e95148f529 /converters | |
parent | e3bf538ef0ff14bd267b40e5df04237151941dc3 (diff) | |
download | pkgsrc-069a1d54b74275dafe12c9aec8b7dfd990289d4f.tar.gz |
Import emojis-0.1
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
Diffstat (limited to 'converters')
-rw-r--r-- | converters/hs-emojis/DESCR | 16 | ||||
-rw-r--r-- | converters/hs-emojis/Makefile | 14 | ||||
-rw-r--r-- | converters/hs-emojis/buildlink3.mk | 13 | ||||
-rw-r--r-- | converters/hs-emojis/distinfo | 6 |
4 files changed, 49 insertions, 0 deletions
diff --git a/converters/hs-emojis/DESCR b/converters/hs-emojis/DESCR new file mode 100644 index 00000000000..2b8e8ceaecb --- /dev/null +++ b/converters/hs-emojis/DESCR @@ -0,0 +1,16 @@ +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 diff --git a/converters/hs-emojis/Makefile b/converters/hs-emojis/Makefile new file mode 100644 index 00000000000..796bcabd499 --- /dev/null +++ b/converters/hs-emojis/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2020/01/15 11:53:16 pho Exp $ + +DISTNAME= emojis-0.1 +CATEGORIES= converters + +MAINTAINER= pho@cielonegro.org +COMMENT= Conversion between emoji characters and their names +LICENSE= modified-bsd + +post-patch: + ${RUN}${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/ + +.include "../../mk/haskell.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/hs-emojis/buildlink3.mk b/converters/hs-emojis/buildlink3.mk new file mode 100644 index 00000000000..3f7e42f7d40 --- /dev/null +++ b/converters/hs-emojis/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 11:53:16 pho Exp $ + +BUILDLINK_TREE+= hs-emojis + +.if !defined(HS_EMOJIS_BUILDLINK3_MK) +HS_EMOJIS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-emojis+= hs-emojis>=0.1 +BUILDLINK_ABI_DEPENDS.hs-emojis+= hs-emojis>=0.1 +BUILDLINK_PKGSRCDIR.hs-emojis?= ../../converters/hs-emoji +.endif # HS_EMOJIS_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-emojis diff --git a/converters/hs-emojis/distinfo b/converters/hs-emojis/distinfo new file mode 100644 index 00000000000..09bc29ddbc4 --- /dev/null +++ b/converters/hs-emojis/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/01/15 11:53:16 pho Exp $ + +SHA1 (emojis-0.1.tar.gz) = cadcb415a1a94d15e14b7a6ad55645dbcf61ecc7 +RMD160 (emojis-0.1.tar.gz) = 7e5da45c3ad673b51924b71eab9dd21d73e3a35c +SHA512 (emojis-0.1.tar.gz) = 587c67bff3f77c362b16c93889762a9aad6fb5250c0bced45f5053f59dd6a11ab2886e53f286bbc4de2b8793be133708b1f9c5d4d52bcef1820f5a7c1ecfa7d2 +Size (emojis-0.1.tar.gz) = 36219 bytes |