packages feed

microlens-aeson-2.1.0: microlens-aeson.cabal

name:          microlens-aeson
category:      Numeric
version:       2.1.0
license:       MIT
cabal-version: >= 1.8
license-file:  LICENSE
author:        Colin Woodbury
maintainer:    Colin Woodbury <colingw@gmail.com>
stability:     provisional
homepage:      http://github.com/fosskers/microlens-aeson/
bug-reports:   http://github.com/fosskers/microlens-aeson/issues
copyright:
          Copyright (C) 2012 Paul Wilson
          Copyright (C) 2013 Edward A. Kmett
          Copyright (C) 2015 Colin Woodbury
build-type:    Custom
synopsis:      Law-abiding lenses for Aeson, using microlens.
description:   Law-abiding lenses for Aeson, using microlens.

extra-source-files:
                   .travis.yml
                   .ghci
                   .gitignore
                   AUTHORS.md
                   README.md
                   CHANGELOG.md
                   microlens-aeson.png
                   lens-aeson.png

source-repository head
  type: git
  location: git://github.com/fosskers/microlens-aeson.git

-- You can disable the doctests test suite with -f-test-doctests
flag test-doctests
  default: True
  manual: True

library
  build-depends:
                  aeson                >= 0.7.0.5   && < 0.11
                , attoparsec           >= 0.10      && < 0.14
                , base                 >= 4.5       && < 5
                , bytestring           >= 0.9       && < 0.11
                , microlens            >= 0.3       && < 0.5
                , scientific           >= 0.3.2     && < 0.4
                , text                 >= 0.11.1.10 && < 1.3
                , unordered-containers >= 0.2.3     && < 0.3
                , vector               >= 0.9       && < 0.12

  exposed-modules:
    Lens.Micro.Aeson

  other-modules:
    Lens.Micro.Aeson.Internal

  ghc-options: -Wall -fwarn-tabs -O2
  hs-source-dirs: src

test-suite doctests
  type:           exitcode-stdio-1.0
  main-is:        doctests.hs
  ghc-options:    -Wall -threaded
  hs-source-dirs: tests

  if !flag(test-doctests)
    buildable: False
  else
    build-depends:
                    base
                  , directory      >= 1.0
                  , doctest        >= 0.9.1
                  , filepath
                  , generic-deriving
                  , semigroups     >= 0.9
                  , simple-reflect >= 0.3.1