summaryrefslogtreecommitdiff
path: root/textproc/hs-yaml
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-03 08:03:05 +0000
committerpho <pho@pkgsrc.org>2020-01-03 08:03:05 +0000
commit626f6d377bab469d70fff4b21382c146fd79fd32 (patch)
treedb40cfa7728cf2582b3e947bd1cb0062f729431d /textproc/hs-yaml
parentea574d68af96076a927cb225045b4bfa2cd4b52f (diff)
downloadpkgsrc-626f6d377bab469d70fff4b21382c146fd79fd32.tar.gz
Import yaml-0.8.30 from wip
Provides support for parsing and emitting Yaml documents. Data.Yaml provides a high-level interface based around the JSON datatypes provided by the aeson package. It uses Text.Libyaml from libyaml in its implementation of the low-level yaml encoder/decoder.
Diffstat (limited to 'textproc/hs-yaml')
-rw-r--r--textproc/hs-yaml/DESCR5
-rw-r--r--textproc/hs-yaml/Makefile23
-rw-r--r--textproc/hs-yaml/buildlink3.mk24
-rw-r--r--textproc/hs-yaml/distinfo6
4 files changed, 58 insertions, 0 deletions
diff --git a/textproc/hs-yaml/DESCR b/textproc/hs-yaml/DESCR
new file mode 100644
index 00000000000..340b1fcffaf
--- /dev/null
+++ b/textproc/hs-yaml/DESCR
@@ -0,0 +1,5 @@
+Provides support for parsing and emitting Yaml documents.
+
+Data.Yaml provides a high-level interface based around the JSON
+datatypes provided by the aeson package. It uses Text.Libyaml from
+libyaml in its implementation of the low-level yaml encoder/decoder.
diff --git a/textproc/hs-yaml/Makefile b/textproc/hs-yaml/Makefile
new file mode 100644
index 00000000000..99d2270093d
--- /dev/null
+++ b/textproc/hs-yaml/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/01/03 08:03:05 pho Exp $
+
+DISTNAME= yaml-0.8.30
+CATEGORIES= textproc
+
+MAINTAINER= szptvlfn@NetBSD.org
+COMMENT= Support for parsing and rendering YAML document
+LICENSE= modified-bsd
+
+CONFIGURE_ARGS+= -f system-libyaml
+
+.include "../../mk/haskell.mk"
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-conduit/buildlink3.mk"
+.include "../../devel/hs-resourcet/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../devel/hs-text/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../textproc/libyaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-yaml/buildlink3.mk b/textproc/hs-yaml/buildlink3.mk
new file mode 100644
index 00000000000..aa18369b3e7
--- /dev/null
+++ b/textproc/hs-yaml/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/03 08:03:05 pho Exp $
+
+BUILDLINK_TREE+= hs-yaml
+
+.if !defined(HS_YAML_BUILDLINK3_MK)
+HS_YAML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-yaml+= hs-yaml>=0.8.30
+BUILDLINK_ABI_DEPENDS.hs-yaml+= hs-yaml>=0.8.30
+BUILDLINK_PKGSRCDIR.hs-yaml?= ../../textproc/hs-yaml
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-conduit/buildlink3.mk"
+.include "../../devel/hs-resourcet/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../devel/hs-text/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../textproc/libyaml/buildlink3.mk"
+.endif # HS_YAML_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-yaml
diff --git a/textproc/hs-yaml/distinfo b/textproc/hs-yaml/distinfo
new file mode 100644
index 00000000000..c84c152db0a
--- /dev/null
+++ b/textproc/hs-yaml/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/03 08:03:05 pho Exp $
+
+SHA1 (yaml-0.8.30.tar.gz) = df6be741ae033aa42929558b5d3b93a45edb4f2e
+RMD160 (yaml-0.8.30.tar.gz) = fd75559e36811fb81f58b05916d787934f4a7986
+SHA512 (yaml-0.8.30.tar.gz) = 15ec8fcde602f42ca4622f3ffec03ab5b7712fc558519bf37c1b3fa7c3c969b5a4dfbcf5008fbda158ab952b36bb8dce666c70bf5727acdd2188ae42f8691668
+Size (yaml-0.8.30.tar.gz) = 82706 bytes