pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hs-HsYAML-aeson textproc/hs-HsYAML-aeson: imp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/414051995239
branches:  trunk
changeset: 374203:414051995239
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 10:21:09 2022 +0000

description:
textproc/hs-HsYAML-aeson: import hs-HsYAML-aeson-0.2.0.1

The YAML 1.2 format provides a much richer data-model and feature-set than
the JavaScript Object Notation (JSON) format. However, sometimes it's
desirable to ignore the extra capabilities and treat YAML as if it was
merely a more convenient markup format for humans to write JSON data. To
this end this module provides a compatibility layer atop HsYAML which
allows decoding YAML documents in the more limited JSON data-model while
also providing convenience by reusing aeson's FromJSON instances for
decoding the YAML data into native Haskell data types.

diffstat:

 textproc/hs-HsYAML-aeson/DESCR         |   8 ++++++++
 textproc/hs-HsYAML-aeson/Makefile      |  16 ++++++++++++++++
 textproc/hs-HsYAML-aeson/PLIST         |  19 +++++++++++++++++++
 textproc/hs-HsYAML-aeson/buildlink3.mk |  19 +++++++++++++++++++
 textproc/hs-HsYAML-aeson/distinfo      |   5 +++++
 5 files changed, 67 insertions(+), 0 deletions(-)

diffs (87 lines):

diff -r 5c343a14eaf5 -r 414051995239 textproc/hs-HsYAML-aeson/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML-aeson/DESCR    Wed Feb 16 10:21:09 2022 +0000
@@ -0,0 +1,8 @@
+The YAML 1.2 format provides a much richer data-model and feature-set than
+the JavaScript Object Notation (JSON) format. However, sometimes it's
+desirable to ignore the extra capabilities and treat YAML as if it was
+merely a more convenient markup format for humans to write JSON data. To
+this end this module provides a compatibility layer atop HsYAML which
+allows decoding YAML documents in the more limited JSON data-model while
+also providing convenience by reusing aeson's FromJSON instances for
+decoding the YAML data into native Haskell data types.
diff -r 5c343a14eaf5 -r 414051995239 textproc/hs-HsYAML-aeson/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML-aeson/Makefile Wed Feb 16 10:21:09 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 10:21:09 pho Exp $
+
+DISTNAME=      HsYAML-aeson-0.2.0.1
+CATEGORIES=    textproc
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       JSON to YAML Adapter
+LICENSE=       gnu-gpl-v2
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../textproc/hs-HsYAML/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5c343a14eaf5 -r 414051995239 textproc/hs-HsYAML-aeson/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML-aeson/PLIST    Wed Feb 16 10:21:09 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 10:21:09 pho Exp $
+lib/HsYAML-aeson-${PKGVERSION}/${HS_VERSION}/package-description
+lib/HsYAML-aeson-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/YAML/Aeson.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/YAML/Aeson.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/YAML/Aeson.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/LICENSE.GPLv2
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/Data-YAML-Aeson.html
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/HsYAML-aeson.haddock
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/HsYAML-aeson-${PKGVERSION}/html/synopsis.png
diff -r 5c343a14eaf5 -r 414051995239 textproc/hs-HsYAML-aeson/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML-aeson/buildlink3.mk    Wed Feb 16 10:21:09 2022 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 10:21:09 pho Exp $
+
+BUILDLINK_TREE+=       hs-HsYAML-aeson
+
+.if !defined(HS_HSYAML_AESON_BUILDLINK3_MK)
+HS_HSYAML_AESON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-HsYAML-aeson+=        hs-HsYAML-aeson>=0.2.0
+BUILDLINK_ABI_DEPENDS.hs-HsYAML-aeson+=        hs-HsYAML-aeson>=0.2.0.1
+BUILDLINK_PKGSRCDIR.hs-HsYAML-aeson?=  ../../textproc/hs-HsYAML-aeson
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../textproc/hs-HsYAML/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.endif # HS_HSYAML_AESON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-HsYAML-aeson
diff -r 5c343a14eaf5 -r 414051995239 textproc/hs-HsYAML-aeson/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML-aeson/distinfo Wed Feb 16 10:21:09 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 10:21:09 pho Exp $
+
+BLAKE2s (HsYAML-aeson-0.2.0.1.tar.gz) = 7c6cbd4968b39cc9da481eeace11c50a48e5870c309028f10c01af89c536fc49
+SHA512 (HsYAML-aeson-0.2.0.1.tar.gz) = 64602074e3e4424b7ff5055aa5aefac89e12127d56975c437189e434c168f129c6d5bb1ee6b0e22e201d0b25de574bb2a49f0fcd0ac1498250ae14920f89acf4
+Size (HsYAML-aeson-0.2.0.1.tar.gz) = 11954 bytes



Home | Main Index | Thread Index | Old Index