packages feed

scalpel-0.3.1: scalpel.cabal

name:                scalpel
version:             0.3.1
synopsis:            A high level web scraping library for Haskell.
description:
    Scalpel is a web scraping library inspired by libraries like Parsec and
    Perl's Web::Scraper Scalpel builds on top of TagSoup to provide a
    declarative and monadic interface.
homepage:            https://github.com/fimad/scalpel
license:             Apache-2.0
license-file:        LICENSE
author:              Will Coster
maintainer:          willcoster@gmail.com
category:            Web
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:
  README.md CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/fimad/scalpel.git

source-repository this
  type:     git
  location: https://github.com/fimad/scalpel.git
  tag:      v0.3.1

library
  other-extensions:
          FlexibleInstances
      ,   FunctionalDependencies
  other-modules:
          Text.HTML.Scalpel.Internal.Scrape
      ,   Text.HTML.Scalpel.Internal.Scrape.StringLike
      ,   Text.HTML.Scalpel.Internal.Scrape.URL
      ,   Text.HTML.Scalpel.Internal.Select
      ,   Text.HTML.Scalpel.Internal.Select.Combinators
      ,   Text.HTML.Scalpel.Internal.Select.Types
  exposed-modules:
      Text.HTML.Scalpel
  hs-source-dirs:   src/
  default-language: Haskell2010
  build-depends:
          base          >= 4.6 && < 5
      ,   bytestring
      ,   containers
      ,   curl          >= 1.3.4
      ,   data-default
      ,   regex-base
      ,   regex-tdfa
      ,   tagsoup       >= 0.12.2
      ,   text
  default-extensions:
          ParallelListComp
      ,   PatternGuards
  ghc-options: -W

test-suite lib-tests
  type:             exitcode-stdio-1.0
  main-is:          TestMain.hs
  hs-source-dirs:   tests/
  default-language: Haskell2010
  build-depends:
          HUnit
      ,   base          >= 4.6 && < 5
      ,   regex-base
      ,   regex-tdfa
      ,   scalpel
      ,   tagsoup
  default-extensions:
          ParallelListComp
      ,   PatternGuards
  ghc-options: -W

benchmark bench
  type:             exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs:   benchmarks
  main-is:          Main.hs
  build-depends:
      base               >=4.7 && <5
    , criterion          >=1.1
    , scalpel
    , text
  ghc-options: -Wall