summaryrefslogtreecommitdiff
path: root/textproc/hs-HsYAML
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-15 07:03:50 +0000
committerpho <pho@pkgsrc.org>2020-01-15 07:03:50 +0000
commit87ee6e089bd4691db4fdfb67fa33408021dab936 (patch)
tree1cadebb7aa4d96a1662587ca1072d7a57bd1f936 /textproc/hs-HsYAML
parent16d0489ef5a1891b2e5e15c5274b7bfd43feb105 (diff)
downloadpkgsrc-87ee6e089bd4691db4fdfb67fa33408021dab936.tar.gz
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 (limited to 'textproc/hs-HsYAML')
-rw-r--r--textproc/hs-HsYAML/DESCR23
-rw-r--r--textproc/hs-HsYAML/Makefile11
-rw-r--r--textproc/hs-HsYAML/buildlink3.mk13
-rw-r--r--textproc/hs-HsYAML/distinfo6
4 files changed, 53 insertions, 0 deletions
diff --git a/textproc/hs-HsYAML/DESCR b/textproc/hs-HsYAML/DESCR
new file mode 100644
index 00000000000..62ea73d7b22
--- /dev/null
+++ b/textproc/hs-HsYAML/DESCR
@@ -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 --git a/textproc/hs-HsYAML/Makefile b/textproc/hs-HsYAML/Makefile
new file mode 100644
index 00000000000..7e239d32295
--- /dev/null
+++ b/textproc/hs-HsYAML/Makefile
@@ -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
+COMMENT= Pure Haskell YAML 1.2 processor
+LICENSE= gnu-gpl-v2
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-HsYAML/buildlink3.mk b/textproc/hs-HsYAML/buildlink3.mk
new file mode 100644
index 00000000000..0779451e0af
--- /dev/null
+++ b/textproc/hs-HsYAML/buildlink3.mk
@@ -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 --git a/textproc/hs-HsYAML/distinfo b/textproc/hs-HsYAML/distinfo
new file mode 100644
index 00000000000..fa22f30f5ba
--- /dev/null
+++ b/textproc/hs-HsYAML/distinfo
@@ -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