diff options
author | pho <pho@pkgsrc.org> | 2022-02-16 05:04:23 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2022-02-16 05:04:23 +0000 |
commit | a52ba264cab8c9e3086189e2c77484ac93663859 (patch) | |
tree | 0a1b3eac70858294339c59455ab924a319d73667 | |
parent | a2d4169f7f61ae493cc31047f8e0092e9e048c56 (diff) | |
download | pkgsrc-a52ba264cab8c9e3086189e2c77484ac93663859.tar.gz |
devel/hs-some: import hs-some-1.0.3
This library defines an existential type Some.
data Some f where
Some :: f a -> Some f
in few variants, and utilities to work with it.
If you are unsure which variant to use, use the one in Data.Some module.
-rw-r--r-- | devel/hs-some/DESCR | 8 | ||||
-rw-r--r-- | devel/hs-some/Makefile | 11 | ||||
-rw-r--r-- | devel/hs-some/PLIST | 46 | ||||
-rw-r--r-- | devel/hs-some/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/hs-some/distinfo | 6 | ||||
-rw-r--r-- | devel/hs-some/patches/patch-some.cabal | 15 |
6 files changed, 99 insertions, 0 deletions
diff --git a/devel/hs-some/DESCR b/devel/hs-some/DESCR new file mode 100644 index 00000000000..5ae806ce01f --- /dev/null +++ b/devel/hs-some/DESCR @@ -0,0 +1,8 @@ +This library defines an existential type Some. + +data Some f where + Some :: f a -> Some f + +in few variants, and utilities to work with it. + +If you are unsure which variant to use, use the one in Data.Some module. diff --git a/devel/hs-some/Makefile b/devel/hs-some/Makefile new file mode 100644 index 00000000000..ad958cfc86c --- /dev/null +++ b/devel/hs-some/Makefile @@ -0,0 +1,11 @@ +# $NetBSD: Makefile,v 1.1 2022/02/16 05:04:23 pho Exp $ + +DISTNAME= some-1.0.3 +CATEGORIES= devel + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= Existential type: Some +LICENSE= modified-bsd + +.include "../../mk/haskell.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/hs-some/PLIST b/devel/hs-some/PLIST new file mode 100644 index 00000000000..e1237a11e0a --- /dev/null +++ b/devel/hs-some/PLIST @@ -0,0 +1,46 @@ +@comment $NetBSD: PLIST,v 1.1 2022/02/16 05:04:23 pho Exp $ +lib/some-${PKGVERSION}/${HS_VERSION}/package-description +lib/some-${PKGVERSION}/${HS_VERSION}/package-id +lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/DeepSeq.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/DeepSeq.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/DeepSeq.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Internal.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Internal.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Internal.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Church.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Church.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Church.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/GADT.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/GADT.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/GADT.p_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Newtype.dyn_hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Newtype.hi +lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/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}/some-${PKGVERSION}/LICENSE +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-Compare.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-DeepSeq.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-Show.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-Church.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-GADT.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-Newtype.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/doc-index.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/haddock-bundle.min.js +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/index.html +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/linuwial.css +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/meta.json +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/quick-jump.css +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/some.haddock +share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/synopsis.png diff --git a/devel/hs-some/buildlink3.mk b/devel/hs-some/buildlink3.mk new file mode 100644 index 00000000000..d550736a1a6 --- /dev/null +++ b/devel/hs-some/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 05:04:23 pho Exp $ + +BUILDLINK_TREE+= hs-some + +.if !defined(HS_SOME_BUILDLINK3_MK) +HS_SOME_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-some+= hs-some>=1.0.3 +BUILDLINK_ABI_DEPENDS.hs-some+= hs-some>=1.0.3 +BUILDLINK_PKGSRCDIR.hs-some?= ../../devel/hs-some +.endif # HS_SOME_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-some diff --git a/devel/hs-some/distinfo b/devel/hs-some/distinfo new file mode 100644 index 00000000000..df4e0a154c9 --- /dev/null +++ b/devel/hs-some/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2022/02/16 05:04:23 pho Exp $ + +BLAKE2s (some-1.0.3.tar.gz) = e158c8b088bcd178a5ff49d7f381858497bcbd8476bbf681cec5964be95b5053 +SHA512 (some-1.0.3.tar.gz) = 801dae8079bf658b628e220e083b70c1d8c368c1e6345dd6f4417d5e52c24de29dd7d5cb72fc13bfd0e6c7c3aaf5a44ffd539d40ef43eb36d2060aa66b13a563 +Size (some-1.0.3.tar.gz) = 8527 bytes +SHA1 (patch-some.cabal) = 6ac8ce953b2b421e46b6c94896540d964fc5705f diff --git a/devel/hs-some/patches/patch-some.cabal b/devel/hs-some/patches/patch-some.cabal new file mode 100644 index 00000000000..3d0f57ed5d7 --- /dev/null +++ b/devel/hs-some/patches/patch-some.cabal @@ -0,0 +1,15 @@ +$NetBSD: patch-some.cabal,v 1.1 2022/02/16 05:04:23 pho Exp $ + +Fix build with GHC 9.2 + +--- some.cabal.orig 2001-09-09 01:46:40.000000000 +0000 ++++ some.cabal +@@ -72,7 +72,7 @@ library + + other-modules: Data.GADT.Internal + build-depends: +- base >=4.3 && <4.16 ++ base >=4.3 && <5 + , deepseq >=1.3.0.0 && <1.5 + + if !impl(ghc >=7.8) |