packages feed

aeson-schemas-1.0.0: aeson-schemas.cabal

cabal-version: >= 1.10

-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: bdf6810338fed8e225df138ff9500c8f2f02eea5b75a50a2ad82760e9c737a77

name:           aeson-schemas
version:        1.0.0
synopsis:       Easily consume JSON data on-demand with type-safety
description:    Parse JSON data easily and safely without defining new data types. Useful
                for deeply nested JSON data, which is difficult to parse using the default
                FromJSON instances.
category:       JSON
homepage:       https://github.com/LeapYear/aeson-schemas#readme
bug-reports:    https://github.com/LeapYear/aeson-schemas/issues
author:         Brandon Chinn <brandon@leapyear.io>
maintainer:     Brandon Chinn <brandon@leapyear.io>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/LeapYear/aeson-schemas

library
  exposed-modules:
      Data.Aeson.Schema
      Data.Aeson.Schema.Internal
      Data.Aeson.Schema.Show
      Data.Aeson.Schema.TH
  other-modules:
      Data.Aeson.Schema.TH.Enum
      Data.Aeson.Schema.TH.Get
      Data.Aeson.Schema.TH.Getter
      Data.Aeson.Schema.TH.Parse
      Data.Aeson.Schema.TH.Schema
      Data.Aeson.Schema.TH.Unwrap
      Data.Aeson.Schema.TH.Utils
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      aeson >=1.1.2.0 && <1.5
    , base >=4.9 && <5
    , bytestring >=0.10.8.1 && <0.11
    , first-class-families >=0.3.0.0 && <0.6
    , megaparsec >=6.0.0 && <7.1
    , template-haskell >=2.12.0.0 && <2.15
    , text >=1.2.2.2 && <1.3
    , unordered-containers >=0.2.8.0 && <0.3
  if impl(ghc >= 8.0)
    ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
  default-language: Haskell2010

test-suite aeson-schemas-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      AllTypes
      Nested
      Schema
      Util
      Paths_aeson_schemas
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      aeson >=1.1.2.0 && <1.5
    , aeson-schemas
    , base >=4.9 && <5
    , bytestring >=0.10.8.1 && <0.11
    , first-class-families >=0.3.0.0 && <0.6
    , megaparsec >=6.0.0 && <7.1
    , raw-strings-qq >=1.1 && <1.2
    , tasty >=0.11.3 && <1.3
    , tasty-golden >=2.3.1.2 && <2.4
    , template-haskell >=2.12.0.0 && <2.15
    , text >=1.2.2.2 && <1.3
    , th-test-utils >=1.0.0 && <1.1
    , unordered-containers >=0.2.8.0 && <0.3
  if impl(ghc >= 8.0)
    ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
  default-language: Haskell2010