packages feed

json-sop-0.2.0.1: json-sop.cabal

name:                json-sop
version:             0.2.0.1
synopsis:            Generics JSON (de)serialization using generics-sop
description:
  This library contains generic serialization and deserialization functions
  implemented using the @<https://hackage.haskell.org/package/generics-sop generics-sop>@
  package for use with @<http://hackage.haskell.org/package/aeson aeson>@.
  .
license:             BSD3
license-file:        LICENSE
author:              Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
maintainer:          andres@well-typed.com
category:            Generics
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1

source-repository head
  type:                git
  location:            https://github.com/well-typed/json-sop

library
  exposed-modules:     Generics.SOP.JSON
                       Generics.SOP.JSON.Model
  other-modules:       Generics.SOP.Util.PartialResult
  build-depends:       base                 >= 4.6  && < 5,
                       generics-sop         >= 0.2  && < 0.3,
                       lens-sop             >= 0.2  && < 0.3,
                       tagged               >= 0.7  && < 0.9,
                       aeson                >= 0.7  && < 0.12,
                       vector               >= 0.10 && < 0.12,
                       text                 >= 1.1  && < 1.3,
                       unordered-containers >= 0.2  && < 0.3,
                       time                 >= 1.4  && < 1.7,
                       transformers         >= 0.3  && < 0.6
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall
  default-extensions:  ScopedTypeVariables
                       TypeFamilies
                       RankNTypes
                       TypeOperators
                       GADTs
                       ConstraintKinds
                       MultiParamTypeClasses
                       TypeSynonymInstances
                       FlexibleInstances
                       FlexibleContexts
                       DeriveFunctor
                       DeriveFoldable
                       DeriveTraversable
                       DefaultSignatures
                       KindSignatures
                       DataKinds
                       FunctionalDependencies
                       CPP
  if impl (ghc >= 7.8)
    default-extensions:  AutoDeriveTypeable
  other-extensions:    OverloadedStrings
                       PolyKinds
  if impl (ghc < 7.10)
    other-extensions:    OverlappingInstances