pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hs-HsYAML Import HsYAML-0.2.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa6b16fc241a
branches:  trunk
changeset: 409041:fa6b16fc241a
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 15 07:03:50 2020 +0000

description:
Import HsYAML-0.2.1.0

HsYAML is a YAML 1.2 processor, i.e. a library for parsing and
serializing YAML documents.

Features of HsYAML include:
* Pure Haskell implementation with small dependency footprint and
  emphasis on strict compliance with the YAML 1.2 specification.
* Direct decoding to native Haskell types via (aeson-inspired)
  typeclass-based API (see Data.YAML).
* Allows round-tripping while preserving ordering, anchors, and
  comments at Event-level.
* Support for constructing custom YAML node graph representation
  (including support for cyclic YAML data structures).
* Support for the standard (untyped) Failsafe, (strict) JSON, and
  (flexible) Core "schemas" providing implicit typing rules as defined
  in the YAML 1.2 specification (including support for user-defined
  custom schemas; see Data.YAML.Schema).
* Support for emitting YAML using Failsafe, (strict) JSON, and
  (flexible) Core "schemas" (including support for user-defined custom
  encoding schemas; see Data.YAML.Schema).
* Event-based API resembling LibYAML's Event-based API (see
  Data.YAML.Event).
* Low-level API access to lexical token-based scanner (see
  Data.YAML.Token).

diffstat:

 textproc/hs-HsYAML/DESCR         |  23 +++++++++++++++++++++++
 textproc/hs-HsYAML/Makefile      |  11 +++++++++++
 textproc/hs-HsYAML/buildlink3.mk |  13 +++++++++++++
 textproc/hs-HsYAML/distinfo      |   6 ++++++
 4 files changed, 53 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r 17e72812e224 -r fa6b16fc241a textproc/hs-HsYAML/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML/DESCR  Wed Jan 15 07:03:50 2020 +0000
@@ -0,0 +1,23 @@
+HsYAML is a YAML 1.2 processor, i.e. a library for parsing and
+serializing YAML documents.
+
+Features of HsYAML include:
+* Pure Haskell implementation with small dependency footprint and
+  emphasis on strict compliance with the YAML 1.2 specification.
+* Direct decoding to native Haskell types via (aeson-inspired)
+  typeclass-based API (see Data.YAML).
+* Allows round-tripping while preserving ordering, anchors, and
+  comments at Event-level.
+* Support for constructing custom YAML node graph representation
+  (including support for cyclic YAML data structures).
+* Support for the standard (untyped) Failsafe, (strict) JSON, and
+  (flexible) Core "schemas" providing implicit typing rules as defined
+  in the YAML 1.2 specification (including support for user-defined
+  custom schemas; see Data.YAML.Schema).
+* Support for emitting YAML using Failsafe, (strict) JSON, and
+  (flexible) Core "schemas" (including support for user-defined custom
+  encoding schemas; see Data.YAML.Schema).
+* Event-based API resembling LibYAML's Event-based API (see
+  Data.YAML.Event).
+* Low-level API access to lexical token-based scanner (see
+  Data.YAML.Token).
diff -r 17e72812e224 -r fa6b16fc241a textproc/hs-HsYAML/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML/Makefile       Wed Jan 15 07:03:50 2020 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2020/01/15 07:03:50 pho Exp $
+
+DISTNAME=      HsYAML-0.2.1.0
+CATEGORIES=    textproc
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Pure Haskell YAML 1.2 processor
+LICENSE=       gnu-gpl-v2
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 17e72812e224 -r fa6b16fc241a textproc/hs-HsYAML/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML/buildlink3.mk  Wed Jan 15 07:03:50 2020 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 07:03:50 pho Exp $
+
+BUILDLINK_TREE+=       hs-HsYAML
+
+.if !defined(HS_HSYAML_BUILDLINK3_MK)
+HS_HSYAML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-HsYAML+=      hs-HsYAML>=0.2.1
+BUILDLINK_ABI_DEPENDS.hs-HsYAML+=      hs-HsYAML>=0.2.1.0
+BUILDLINK_PKGSRCDIR.hs-HsYAML?=                ../../textproc/hs-HsYAML
+.endif # HS_HSYAML_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-HsYAML
diff -r 17e72812e224 -r fa6b16fc241a textproc/hs-HsYAML/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-HsYAML/distinfo       Wed Jan 15 07:03:50 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/15 07:03:50 pho Exp $
+
+SHA1 (HsYAML-0.2.1.0.tar.gz) = 4a6799043e7f0b21c953f33f71d1f4639326a2ad
+RMD160 (HsYAML-0.2.1.0.tar.gz) = 5ae75485a1f2d5ce46774d8eb2c7d3fb327a6c9b
+SHA512 (HsYAML-0.2.1.0.tar.gz) = f8ad41a99e48183835093ad8bf6a3fbdf4b9ad9df3bea46b12efd55a9555c22bd2595c72b1ac2e73379ab47e21f6cbf9022412db8971e1c7c02a32e824f53304
+Size (HsYAML-0.2.1.0.tar.gz) = 83976 bytes



Home | Main Index | Thread Index | Old Index