packages feed

kdl-hs-0.2.1: kdl-hs.cabal

cabal-version: 3.0

name: kdl-hs
version: 0.2.1
synopsis: KDL language parser and API
description: KDL language parser and API.
homepage: https://github.com/brandonchinn178/kdl-hs#readme
bug-reports: https://github.com/brandonchinn178/kdl-hs/issues
author: Brandon Chinn <brandonchinn178@gmail.com>
maintainer: Brandon Chinn <brandonchinn178@gmail.com>
license: BSD-3-Clause
license-file: LICENSE.md
category: Text
build-type: Simple
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/brandonchinn178/kdl-hs

library
  hs-source-dirs: src
  exposed-modules:
    KDL
    KDL.Applicative
    KDL.Arrow
    KDL.Decoder
    KDL.Decoder.Arrow
    KDL.Decoder.Internal.DecodeM
    KDL.Decoder.Internal.Decoder
    KDL.Decoder.Internal.Error
    KDL.Decoder.Monad
    KDL.Decoder.Schema
    KDL.Parser
    KDL.Render
    KDL.Types
  other-modules:
    KDL.Parser.Hustle
    KDL.Parser.Hustle.Formatter
    KDL.Parser.Hustle.Internal
    KDL.Parser.Hustle.Parser
    KDL.Parser.Hustle.Types
  build-depends:
      base < 5
    , containers
    , megaparsec
    , prettyprinter >= 1.7.0
    , scientific
    , text
    , transformers
  default-language: GHC2021
  ghc-options: -Wall -Wcompat

test-suite kdl-tests
  type: exitcode-stdio-1.0
  ghc-options: -F -pgmF=skeletest-preprocessor
  build-tool-depends: skeletest:skeletest-preprocessor
  hs-source-dirs: test
  main-is: Main.hs
  other-modules:
    KDL.ApplicativeSpec
    KDL.ParserSpec
    KDL.Decoder.ArrowSpec
    KDL.Decoder.MonadSpec
  build-depends:
      base
    , containers
    , kdl-hs
    , skeletest
    , temporary
    , text
  default-language: GHC2021
  ghc-options: -Wall -Wcompat