pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/hs-aeson-pretty Import aeson-pretty-0.8.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f89faed253f
branches:  trunk
changeset: 421346:3f89faed253f
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 15 06:04:21 2020 +0000

description:
Import aeson-pretty-0.8.8

A JSON pretty-printing library compatible with aeson as well as a
command-line tool to improve readabilty of streams of JSON data.

The library provides the function "encodePretty". It is a drop-in
replacement for aeson's "encode" function, producing JSON-ByteStrings
for human readers.

The command-line tool reads JSON from stdin and writes prettified JSON
to stdout. It also offers a complementary "compact"-mode, essentially
the opposite of pretty-printing.

diffstat:

 converters/hs-aeson-pretty/DESCR         |  10 ++++++++++
 converters/hs-aeson-pretty/Makefile      |  18 ++++++++++++++++++
 converters/hs-aeson-pretty/buildlink3.mk |  21 +++++++++++++++++++++
 converters/hs-aeson-pretty/distinfo      |   6 ++++++
 4 files changed, 55 insertions(+), 0 deletions(-)

diffs (71 lines):

diff -r 25e00c984d00 -r 3f89faed253f converters/hs-aeson-pretty/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/hs-aeson-pretty/DESCR  Wed Jan 15 06:04:21 2020 +0000
@@ -0,0 +1,10 @@
+A JSON pretty-printing library compatible with aeson as well as a
+command-line tool to improve readabilty of streams of JSON data.
+
+The library provides the function "encodePretty". It is a drop-in
+replacement for aeson's "encode" function, producing JSON-ByteStrings
+for human readers.
+
+The command-line tool reads JSON from stdin and writes prettified JSON
+to stdout. It also offers a complementary "compact"-mode, essentially
+the opposite of pretty-printing.
diff -r 25e00c984d00 -r 3f89faed253f converters/hs-aeson-pretty/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/hs-aeson-pretty/Makefile       Wed Jan 15 06:04:21 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/01/15 06:04:21 pho Exp $
+
+DISTNAME=      aeson-pretty-0.8.8
+CATEGORIES=    converters
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       JSON pretty-printing library and command-line tool
+LICENSE=       modified-bsd
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-base-compat/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-cmdargs/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 25e00c984d00 -r 3f89faed253f converters/hs-aeson-pretty/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/hs-aeson-pretty/buildlink3.mk  Wed Jan 15 06:04:21 2020 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 06:04:21 pho Exp $
+
+BUILDLINK_TREE+=       hs-aeson-pretty
+
+.if !defined(HS_AESON_PRETTY_BUILDLINK3_MK)
+HS_AESON_PRETTY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-aeson-pretty+=        hs-aeson-pretty>=0.8.8
+BUILDLINK_ABI_DEPENDS.hs-aeson-pretty+=        hs-aeson-pretty>=0.8.8
+BUILDLINK_PKGSRCDIR.hs-aeson-pretty?=  ../../converters/hs-aeson-pretty
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-base-compat/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-cmdargs/buildlink3.mk"
+.endif # HS_AESON_PRETTY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-aeson-pretty
diff -r 25e00c984d00 -r 3f89faed253f converters/hs-aeson-pretty/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/hs-aeson-pretty/distinfo       Wed Jan 15 06:04:21 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/15 06:04:21 pho Exp $
+
+SHA1 (aeson-pretty-0.8.8.tar.gz) = 7441f19332e0a8b582eec573f9e743eb65c6b592
+RMD160 (aeson-pretty-0.8.8.tar.gz) = 5a96e90ff5cb7676c843551cff8140e769d850e5
+SHA512 (aeson-pretty-0.8.8.tar.gz) = 5867343c5d51d632bb299fcbc00cdb29b0feb1931f0ff9c3cf89c5752f1a103c68c9e6fa65e8538ac19212853c39f6d1d6e0c2d9f0bf49fe001c1bfd792db779
+Size (aeson-pretty-0.8.8.tar.gz) = 5600 bytes



Home | Main Index | Thread Index | Old Index