pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hs-newtype devel/hs-newtype: import hs-newtype-0...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c43ae0ff8355
branches:  trunk
changeset: 384908:c43ae0ff8355
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Sep 07 02:56:00 2022 +0000

description:
devel/hs-newtype: import hs-newtype-0.2.2.0

Per Conor McBride, the "Newtype" typeclass represents the packing and
unpacking of a newtype, and allows you to operate under that newtype with
functions such as "ala".

diffstat:

 devel/hs-newtype/DESCR         |   3 +++
 devel/hs-newtype/Makefile      |  17 +++++++++++++++++
 devel/hs-newtype/PLIST         |  19 +++++++++++++++++++
 devel/hs-newtype/buildlink3.mk |  13 +++++++++++++
 devel/hs-newtype/distinfo      |   5 +++++
 5 files changed, 57 insertions(+), 0 deletions(-)

diffs (77 lines):

diff -r 75365187e35d -r c43ae0ff8355 devel/hs-newtype/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-newtype/DESCR    Wed Sep 07 02:56:00 2022 +0000
@@ -0,0 +1,3 @@
+Per Conor McBride, the "Newtype" typeclass represents the packing and
+unpacking of a newtype, and allows you to operate under that newtype with
+functions such as "ala".
diff -r 75365187e35d -r c43ae0ff8355 devel/hs-newtype/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-newtype/Makefile Wed Sep 07 02:56:00 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2022/09/07 02:56:00 pho Exp $
+
+DISTNAME=      newtype-0.2.2.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Typeclass and set of functions for working with newtypes
+LICENSE=       modified-bsd
+
+# Relax version constraints
+SUBST_CLASSES+=                cabal
+SUBST_STAGE.cabal=     post-extract
+SUBST_FILES.cabal=     newtype.cabal
+SUBST_SED.cabal=       -e 's/base >= 4.5 && < 4.14/base/'
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 75365187e35d -r c43ae0ff8355 devel/hs-newtype/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-newtype/PLIST    Wed Sep 07 02:56:00 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/09/07 02:56:00 pho Exp $
+lib/newtype-${PKGVERSION}/${HS_VERSION}/package-description
+lib/newtype-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Newtype.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Newtype.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Newtype.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/Control-Newtype.html
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/newtype.haddock
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/newtype-${PKGVERSION}/html/synopsis.png
diff -r 75365187e35d -r c43ae0ff8355 devel/hs-newtype/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-newtype/buildlink3.mk    Wed Sep 07 02:56:00 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/09/07 02:56:00 pho Exp $
+
+BUILDLINK_TREE+=       hs-newtype
+
+.if !defined(HS_NEWTYPE_BUILDLINK3_MK)
+HS_NEWTYPE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-newtype+=     hs-newtype>=0.2.2
+BUILDLINK_ABI_DEPENDS.hs-newtype+=     hs-newtype>=0.2.2.0
+BUILDLINK_PKGSRCDIR.hs-newtype?=       ../../devel/hs-newtype
+.endif # HS_NEWTYPE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-newtype
diff -r 75365187e35d -r c43ae0ff8355 devel/hs-newtype/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-newtype/distinfo Wed Sep 07 02:56:00 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/09/07 02:56:00 pho Exp $
+
+BLAKE2s (newtype-0.2.2.0.tar.gz) = 56e1cba3ee7d98ed60d9384407df0bdb86e6faf577b6e756f573fd484c18cf16
+SHA512 (newtype-0.2.2.0.tar.gz) = 9d8b344ac5f6ff62d8100b95dd879715639af2d8d1f63a8cb17a18fa7c4f427eade49aa3d6b47034351ac0f2cb5061013f6321038bff1053eb3aa84faf157a5b
+Size (newtype-0.2.2.0.tar.gz) = 4853 bytes



Home | Main Index | Thread Index | Old Index