File 2.cabal of Package ghc-lens-action

name:          lens-action
category:      Data, Lenses, Generics
version:       0.2.0.2
x-revision: 2
license:       BSD3
cabal-version: >= 1.8
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     provisional
homepage:      http://github.com/ekmett/lens-action/
bug-reports:   http://github.com/ekmett/lens-action/issues
copyright:     Copyright (C) 2012-2014 Edward A. Kmett
build-type:    Custom
-- build-tools:   cpphs
tested-with:   GHC == 7.8.3
synopsis:      Monadic Getters and Folds
description:
  This package contains combinators and types for working with
  monadic getters and folds as split off from the original
  lens package.

extra-source-files:
  .ghci
  .gitignore
  CHANGELOG.markdown

source-repository head
  type: git
  location: git://github.com/ekmett/lens-action.git

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

library
  build-depends:
    lens                      >= 4.7      && < 5,
    base                      >= 4.5      && < 5,
    comonad                   >= 4        && < 6,
    contravariant             >= 1.2.1    && < 2,
    profunctors               >= 4        && < 6,
    mtl                       >= 2.0.1    && < 2.3,
    semigroups                >= 0.8.4    && < 1,
    semigroupoids             >= 4        && < 6,
    transformers              >= 0.2      && < 0.6

  exposed-modules:
    Control.Lens.Action
    Control.Lens.Action.Internal
    Control.Lens.Action.Reified
    Control.Lens.Action.Type

  cpp-options: -traditional

  ghc-options: -Wall -fwarn-tabs -O2 -fdicts-cheap -funbox-strict-fields -fmax-simplifier-iterations=10
  hs-source-dirs: src

-- Verify the results of the examples
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,
      doctest        >= 0.9.1,
      filepath,
      directory