packages feed

yaml-combinators-1.0: yaml-combinators.cabal

-- Initial yaml-combinators.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                yaml-combinators
version:             1.0
synopsis:            YAML parsing combinators for improved validation and error reporting
-- description:
homepage:            https://github.com/feuerbach/yaml-combinators
license:             MIT
license-file:        LICENSE
author:              Roman Cheplyaka
maintainer:          roma@ro-che.info
copyright:           (c) 2015 Signal Vine, LLC
                     (c) 2017 Roman Cheplyaka
category:            Text
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10

library
  exposed-modules:
    Data.Yaml.Combinators
  -- other-modules:
  -- other-extensions:
  build-depends:
    aeson,
    base < 5,
    bytestring,
    generics-sop,
    scientific,
    text,
    transformers,
    unordered-containers,
    vector,
    yaml
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: -Wall -Wno-orphans

test-suite test
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    tests
  main-is:
    test.hs
  build-depends:
      base
    , aeson
    , tasty
    , tasty-hunit
    , unordered-containers
    , yaml-combinators

test-suite doctests
  type:          exitcode-stdio-1.0
  ghc-options:   -threaded
  hs-source-dirs:
    tests
  main-is:
    doctests.hs
  build-depends: base, doctest