pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-newtype



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Sep  7 02:56:00 UTC 2022

Added Files:
        pkgsrc/devel/hs-newtype: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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".


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-newtype/DESCR \
    pkgsrc/devel/hs-newtype/Makefile pkgsrc/devel/hs-newtype/PLIST \
    pkgsrc/devel/hs-newtype/buildlink3.mk pkgsrc/devel/hs-newtype/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/hs-newtype/DESCR
diff -u /dev/null pkgsrc/devel/hs-newtype/DESCR:1.1
--- /dev/null   Wed Sep  7 02:56:00 2022
+++ pkgsrc/devel/hs-newtype/DESCR       Wed Sep  7 02:56:00 2022
@@ -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".
Index: pkgsrc/devel/hs-newtype/Makefile
diff -u /dev/null pkgsrc/devel/hs-newtype/Makefile:1.1
--- /dev/null   Wed Sep  7 02:56:00 2022
+++ pkgsrc/devel/hs-newtype/Makefile    Wed Sep  7 02:56:00 2022
@@ -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"
Index: pkgsrc/devel/hs-newtype/PLIST
diff -u /dev/null pkgsrc/devel/hs-newtype/PLIST:1.1
--- /dev/null   Wed Sep  7 02:56:00 2022
+++ pkgsrc/devel/hs-newtype/PLIST       Wed Sep  7 02:56:00 2022
@@ -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
Index: pkgsrc/devel/hs-newtype/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-newtype/buildlink3.mk:1.1
--- /dev/null   Wed Sep  7 02:56:00 2022
+++ pkgsrc/devel/hs-newtype/buildlink3.mk       Wed Sep  7 02:56:00 2022
@@ -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
Index: pkgsrc/devel/hs-newtype/distinfo
diff -u /dev/null pkgsrc/devel/hs-newtype/distinfo:1.1
--- /dev/null   Wed Sep  7 02:56:00 2022
+++ pkgsrc/devel/hs-newtype/distinfo    Wed Sep  7 02:56:00 2022
@@ -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