# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                aeson-pretty
version             0.8.10
revision            1
categories          devel haskell
maintainers         nomaintainer
license             GPL-3
platforms           macosx
homepage            https://www.haskell.org/alex/

description         JSON pretty-printing library and command-line tool.

long_description    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.

checksums           rmd160  82d41419da3a4f599df7dfe6d23e86f2e33db53f \
                    sha256  2a21f2cd78adcb149ceba770239ed664519552911e7680172b18ff695cfa7ae5 \
                    size    5894

installs_libs       no

variant stack \
    description {Use stack to build.} {}

if { [variant_isset "stack"] } {
    PortGroup       haskell_stack 1.0
} else {
    PortGroup       haskell_cabal 1.0

    build.target    exe:${name}
}
