pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/hs-aeson-pretty



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Jan 15 06:04:21 UTC 2020

Added Files:
        pkgsrc/converters/hs-aeson-pretty: DESCR Makefile buildlink3.mk
            distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/hs-aeson-pretty/DESCR \
    pkgsrc/converters/hs-aeson-pretty/Makefile \
    pkgsrc/converters/hs-aeson-pretty/buildlink3.mk \
    pkgsrc/converters/hs-aeson-pretty/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/converters/hs-aeson-pretty/DESCR
diff -u /dev/null pkgsrc/converters/hs-aeson-pretty/DESCR:1.1
--- /dev/null   Wed Jan 15 06:04:21 2020
+++ pkgsrc/converters/hs-aeson-pretty/DESCR     Wed Jan 15 06:04:21 2020
@@ -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.
Index: pkgsrc/converters/hs-aeson-pretty/Makefile
diff -u /dev/null pkgsrc/converters/hs-aeson-pretty/Makefile:1.1
--- /dev/null   Wed Jan 15 06:04:21 2020
+++ pkgsrc/converters/hs-aeson-pretty/Makefile  Wed Jan 15 06:04:21 2020
@@ -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"
Index: pkgsrc/converters/hs-aeson-pretty/buildlink3.mk
diff -u /dev/null pkgsrc/converters/hs-aeson-pretty/buildlink3.mk:1.1
--- /dev/null   Wed Jan 15 06:04:21 2020
+++ pkgsrc/converters/hs-aeson-pretty/buildlink3.mk     Wed Jan 15 06:04:21 2020
@@ -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
Index: pkgsrc/converters/hs-aeson-pretty/distinfo
diff -u /dev/null pkgsrc/converters/hs-aeson-pretty/distinfo:1.1
--- /dev/null   Wed Jan 15 06:04:21 2020
+++ pkgsrc/converters/hs-aeson-pretty/distinfo  Wed Jan 15 06:04:21 2020
@@ -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