packages feed

aeson-commit-1.3: aeson-commit.cabal

cabal-version:      >=1.10
name:               aeson-commit
version:            1.3
license:            BSD3
copyright:          2020 Cross Compass Ltd.
maintainer:         Jonas Carpay <jonascarpay@gmail.com>
homepage:           https://github.com/xc-jp/aeson-commit#readme
author:
  Viktor Kronvall <viktor.kronvall@cross-compass.com>,
  Jonas Carpay <jonascarpay@gmail.com>

synopsis:           Parse Aeson data with commitment
description:
  Commitment mechanism for @aeson@ parsers.
  Commitment means that if some initial parsing succeeds, subsequent failures are unrecoverable.

category:           Text, Web, JSON
build-type:         Simple
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type:     git
  location: git://github.com/xc-jp/aeson-commit

library
  exposed-modules:  Data.Aeson.Commit
  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:      -Wall -Wno-name-shadowing
  build-depends:
      aeson  >=1.4  && <2
    , base   >=4.10 && <5
    , mtl    >=2.2  && <3
    , text   >=1.2  && <2

test-suite tasty
  type:             exitcode-stdio-1.0
  main-is:          Main.hs
  hs-source-dirs:   test/tasty
  default-language: Haskell2010
  ghc-options:      -Wall -Wno-name-shadowing
  build-depends:
      aeson         >=1.4     && <2
    , aeson-commit
    , aeson-qq      >=0.8     && <1
    , base          >=4.10    && <5
    , tasty         >=1.2     && <2
    , tasty-hspec   >=1.1.5.1 && <2
    , text          >=1.2     && <2