summaryrefslogtreecommitdiff
blob: 898a7d704880049e04b5bbe78f5f33e18d9286f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<herd>haskell</herd>
	<maintainer>
		<email>haskell@gentoo.org</email>
	</maintainer>
	<use>
		<flag name='lib-only'>don't build 'aeson-pretty' executable.</flag>
	</use>
	<longdescription>
		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 &quot;encodePretty&quot;. It is a drop-in
		replacement for aeson&#39;s &quot;encode&quot; 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 &quot;compact&quot;-mode, essentially the
		opposite of pretty-printing. If you specify @-flib-only@ like this
		
		&gt; cabal install -flib-only aeson-pretty
		
		the command-line tool will NOT be installed.
	</longdescription>
</pkgmetadata>