packages feed

hquery-0.1.0.2: hquery.cabal

name:                hquery
version:             0.1.0.2
synopsis:            A query language for transforming HTML5
license:             MIT
license-file:        LICENSE
author:              Tycho Andersen
maintainer:          Tycho Andersen <tycho@tycho.ws>
category:            Web
build-type:          Simple
cabal-version:       >=1.8
bug-reports:         https://github.com/tych0/hquery/issues
tested-with:         GHC == 7.4.1
description: Hquery is a tool for transforming XmlHtml trees. It is an
             implementation of Lift's CssSelectors in haskell. It operates over
             "xmlhtml" 'Node's, allowing you to build transformers for creating
             and modifying template trees. See "Text.Hquery" for some examples.

source-repository head
  type:              git
  location:          git://github.com/tych0/hquery.git

library
  build-depends: base ==4.*, parsec >= 3.1, xmlhtml >= 0.2,
                 text >= 0.11, containers

  hs-source-dirs: src
  exposed-modules: Text.Hquery, Text.Hquery.Utils,
                   Text.Hquery.Internal.Selector, Text.Hquery.Internal.Error,
                   Text.Hquery.Internal.Transform
  ghc-options: -Wall
  extensions: FlexibleInstances

test-suite TransformTests
  hs-source-dirs: tests
  main-is: TransformTests.hs
  type: exitcode-stdio-1.0
  build-depends: base ==4.*, hquery >= 0.1.0.0, xmlhtml >= 0.2, HUnit,
                 filepath >= 1.3.0.0, bytestring >= 0.9.2.1, test-framework,
                 test-framework-hunit, text >= 0.11
  extensions: DeriveDataTypeable

test-suite ParserTests
  hs-source-dirs: tests
  main-is: ParserTests.hs
  type: exitcode-stdio-1.0
  build-depends: base ==4.*, hquery >= 0.1.0.0, HUnit, test-framework,
                 test-framework-hunit, parsec >= 3.1

test-suite UtilsTests
  hs-source-dirs: tests
  main-is: UtilsTests.hs
  type: exitcode-stdio-1.0
  build-depends: base ==4.*, hquery >= 0.1.0.0, HUnit, test-framework,
                 test-framework-hunit, xmlhtml >= 0.2, text >= 0.11