packages feed

aeson-extra-0.5.1.2: aeson-extra.cabal

cabal-version:      >=1.10
name:               aeson-extra
version:            0.5.1.2
synopsis:           Extra goodies for aeson
description:
  Package provides extra functionality on top of @aeson@ and @aeson-compat@

category:           Data, Aeson
homepage:           https://github.com/phadej/aeson-extra#readme
bug-reports:        https://github.com/phadej/aeson-extra/issues
author:             Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
license:            BSD3
license-file:       LICENSE
tested-with:
  GHC ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.4
   || ==9.4.1

build-type:         Simple
extra-source-files:
  CHANGELOG.md
  README.md

source-repository head
  type:     git
  location: https://github.com/phadej/aeson-extra

library
  hs-source-dirs:   src
  ghc-options:      -Wall
  build-depends:
      aeson                  >=1.5.4.1  && <1.6 || >=2.0 && <2.2
    , attoparsec             >=0.11.3.4 && <0.15
    , base                   >=4.7      && <4.19
    , base-compat-batteries  >=0.11.2   && <0.14
    , bytestring             >=0.10     && <0.12
    , deepseq                >=1.3      && <1.5
    , recursion-schemes      >=4.1.2    && <5.3
    , scientific             >=0.3      && <0.4
    , semialign              >=1        && <1.4
    , template-haskell       >=2.8      && <2.21
    , text                   >=1.2      && <1.3 || >=2.0 && <2.1
    , these                  >=1        && <1.3
    , unordered-containers   >=0.2      && <0.3
    , vector                 >=0.10     && <0.14

  -- if !impl(ghc >=8.2)
  --   build-depends: bifunctors >=5.5.2 && <5.7

  exposed-modules:
    Data.Aeson.Extra
    Data.Aeson.Extra.CollapsedList
    Data.Aeson.Extra.Foldable
    Data.Aeson.Extra.Merge
    Data.Aeson.Extra.Recursive
    Data.Aeson.Extra.SingObject
    Data.Aeson.Extra.Stream
    Data.Aeson.Extra.SymTag
    Data.Aeson.Extra.TH

  default-language: Haskell2010

test-suite aeson-extra-test
  type:             exitcode-stdio-1.0
  main-is:          Tests.hs
  hs-source-dirs:   test
  ghc-options:      -Wall
  build-depends:
      aeson
    , aeson-extra
    , base
    , base-compat-batteries
    , containers
    , quickcheck-instances   >=0.3     && <0.4
    , tasty                  >=0.10    && <1.5
    , tasty-hunit            >=0.9     && <0.11
    , tasty-quickcheck       >=0.8     && <0.11
    , unordered-containers
    , vector

  other-modules:    Orphans
  default-language: Haskell2010