Thu Jan 26 10:50:14 2023 UTC ()
devel/hs-newtype-generics: import hs-newtype-generics-0.6.2

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. Generics support was added in version 0.4, making
this package a full replacement for the original newtype package, and a
better alternative to newtype-th.


(pho)
diff -r0 -r1.1 pkgsrc/devel/hs-newtype-generics/DESCR
diff -r0 -r1.1 pkgsrc/devel/hs-newtype-generics/Makefile
diff -r0 -r1.1 pkgsrc/devel/hs-newtype-generics/PLIST
diff -r0 -r1.1 pkgsrc/devel/hs-newtype-generics/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/hs-newtype-generics/distinfo

File Added: pkgsrc/devel/hs-newtype-generics/DESCR
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. Generics support was added in version 0.4, making
this package a full replacement for the original newtype package, and a
better alternative to newtype-th.

File Added: pkgsrc/devel/hs-newtype-generics/Makefile
# $NetBSD: Makefile,v 1.1 2023/01/26 10:50:14 pho Exp $

DISTNAME=	newtype-generics-0.6.2
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Typeclass and set of functions for working with newtypes
LICENSE=	modified-bsd

HASKELL_UNRESTRICT_DEPENDENCIES+=	\
	base

.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/hs-newtype-generics/PLIST
@comment $NetBSD: PLIST,v 1.1 2023/01/26 10:50:14 pho Exp $
lib/newtype-generics-${PKGVERSION}/${HS_VERSION}/package-description
lib/newtype-generics-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Newtype/Generics.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Control/Newtype/Generics.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Control/Newtype/Generics.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/Control-Newtype-Generics.html
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/haddock-bundle.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/linuwial.css
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/meta.json
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/newtype-generics.haddock
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/quick-jump.css
${PLIST.doc}share/doc/${HS_PLATFORM}/newtype-generics-${PKGVERSION}/html/synopsis.png

File Added: pkgsrc/devel/hs-newtype-generics/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2023/01/26 10:50:14 pho Exp $

BUILDLINK_TREE+=	hs-newtype-generics

.if !defined(HS_NEWTYPE_GENERICS_BUILDLINK3_MK)
HS_NEWTYPE_GENERICS_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-newtype-generics+=	hs-newtype-generics>=0.6.2
BUILDLINK_ABI_DEPENDS.hs-newtype-generics+=	hs-newtype-generics>=0.6.2
BUILDLINK_PKGSRCDIR.hs-newtype-generics?=	../../devel/hs-newtype-generics
.endif	# HS_NEWTYPE_GENERICS_BUILDLINK3_MK

BUILDLINK_TREE+=	-hs-newtype-generics

File Added: pkgsrc/devel/hs-newtype-generics/distinfo
$NetBSD: distinfo,v 1.1 2023/01/26 10:50:14 pho Exp $

BLAKE2s (newtype-generics-0.6.2.tar.gz) = 0b2cac4e185b31d70351db54e9bc0608abd3034583916e436df141c797a158bc
SHA512 (newtype-generics-0.6.2.tar.gz) = 31525fe18aa97ff34d9d18f385ec427b577051b583a649d52f6df01634e93fe594fe90a13263a9b25961ab0b49b8023eab48bf80d25cb550e11f3b065a3d878b
Size (newtype-generics-0.6.2.tar.gz) = 6854 bytes