pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-newtype-generics



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan 26 10:50:14 UTC 2023

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

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-newtype-generics/DESCR \
    pkgsrc/devel/hs-newtype-generics/Makefile \
    pkgsrc/devel/hs-newtype-generics/PLIST \
    pkgsrc/devel/hs-newtype-generics/buildlink3.mk \
    pkgsrc/devel/hs-newtype-generics/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-generics/DESCR
diff -u /dev/null pkgsrc/devel/hs-newtype-generics/DESCR:1.1
--- /dev/null   Thu Jan 26 10:50:14 2023
+++ pkgsrc/devel/hs-newtype-generics/DESCR      Thu Jan 26 10:50:14 2023
@@ -0,0 +1,5 @@
+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.
Index: pkgsrc/devel/hs-newtype-generics/Makefile
diff -u /dev/null pkgsrc/devel/hs-newtype-generics/Makefile:1.1
--- /dev/null   Thu Jan 26 10:50:14 2023
+++ pkgsrc/devel/hs-newtype-generics/Makefile   Thu Jan 26 10:50:14 2023
@@ -0,0 +1,14 @@
+# $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@localhost
+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"
Index: pkgsrc/devel/hs-newtype-generics/PLIST
diff -u /dev/null pkgsrc/devel/hs-newtype-generics/PLIST:1.1
--- /dev/null   Thu Jan 26 10:50:14 2023
+++ pkgsrc/devel/hs-newtype-generics/PLIST      Thu Jan 26 10:50:14 2023
@@ -0,0 +1,19 @@
+@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
Index: pkgsrc/devel/hs-newtype-generics/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-newtype-generics/buildlink3.mk:1.1
--- /dev/null   Thu Jan 26 10:50:14 2023
+++ pkgsrc/devel/hs-newtype-generics/buildlink3.mk      Thu Jan 26 10:50:14 2023
@@ -0,0 +1,13 @@
+# $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
Index: pkgsrc/devel/hs-newtype-generics/distinfo
diff -u /dev/null pkgsrc/devel/hs-newtype-generics/distinfo:1.1
--- /dev/null   Thu Jan 26 10:50:14 2023
+++ pkgsrc/devel/hs-newtype-generics/distinfo   Thu Jan 26 10:50:14 2023
@@ -0,0 +1,5 @@
+$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



Home | Main Index | Thread Index | Old Index