packages feed

libxml-sax-0.7.6: libxml-sax.cabal

name: libxml-sax
version: 0.7.6
license: MIT
license-file: license.txt
author: John Millikin
maintainer: jmillikin@gmail.com
build-type: Simple
cabal-version: >= 1.10
category: Foreign, Text, XML, Parsing
stability: experimental
homepage: https://git.singpolyma.net/haskell-libxml-sax
bug-reports: mailto:dev@singpolyma.net

synopsis: Bindings for the libXML2 SAX interface
description:

extra-source-files:
  cbits/hslibxml-shim.c
  cbits/hslibxml-shim.h

source-repository head
  type: git
  location: https://git.singpolyma.net/haskell-libxml-sax

library
  default-language: Haskell2010
  hs-source-dirs: lib
  ghc-options: -Wall -O2
  cc-options: -Wall

  build-depends:
      base >= 4.1 && < 5.0
    , bytestring >= 0.9
    , text >= 0.7
    , xml-types >= 0.3 && < 0.4

  exposed-modules:
    Text.XML.LibXML.SAX

  c-sources: cbits/hslibxml-shim.c

  extra-libraries: xml2
  pkgconfig-depends: libxml-2.0

test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  main-is: tests/Tests.hs

  build-depends:
      base > 4.1 && < 5.0
    , bytestring
    , containers
    , libxml-sax
    , text
    , transformers
    , xml-types
    , chell >= 0.5 && < 0.6