name:                xml-html-conduit-lens
version:             0.3.1.0
synopsis:            Optics for xml-conduit and html-conduit
description:         Optics for xml-conduit and html-conduit
homepage:            https://github.com/supki/xml-html-conduit-lens#readme
license:             BSD3
license-file:        LICENSE
author:              Fumiaki Kinoshita, Matvey Aksenov
maintainer:          Matvey Aksenov <matvey.aksenov@gmail.com>
copyright:           Copyright (C) 2013 Fumiaki Kinoshita, 2014 Matvey Aksenov
category:            Control
build-type:          Simple
cabal-version:       >= 1.10
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/supki/xml-html-conduit-lens

source-repository this
  type: git
  tag: 0.3.1.0
  location: https://github.com/supki/xml-html-conduit-lens

library
  default-language:
    Haskell2010
  build-depends:
      base                    >= 4     && < 5
    , bytestring
    , lens                    >= 4.0.1
    , containers              >= 0.4.0 && < 0.6
    , text                    >= 0.11  && < 1.2
    , xml-conduit             >= 1.1   && < 1.3
    , html-conduit            >= 1.1   && < 1.3
  hs-source-dirs:
    src
  ghc-options:
    -Wall
  exposed-modules:
    Text.Xml.Lens
    Text.Xml.Lens.LowLevel

test-suite doctest
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      test
  main-is:             Doctest.hs
  build-depends:
      base                    == 4.*
    , doctest                 >= 0.9.10

test-suite hspec
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:
      base                    == 4.*
    , hspec
    , hspec-expectations-lens >= 0.3
    , lens                    >= 4.0
    , xml-conduit             >= 1.1   && < 1.3
    , xml-html-conduit-lens
  other-modules:
    Text.Xml.LensSpec