packages feed

pugixml-0.3.2: pugixml.cabal

name:                pugixml
version:             0.3.2
synopsis:            pugixml binding.
description:         pugixml binding. example: <docs/Text-XML-Pugi.html>
license:             MIT
license-file:        LICENSE
author:              HirotomoMoriwaki<philopon.dependence@gmail.com>
maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com>
Homepage:            https://github.com/philopon/pugixml-hs
Bug-reports:         https://github.com/philopon/pugixml-hs/issues
copyright:           (c) 2014-2015 Hirotomo Moriwaki
category:            Text, XML
build-type:          Simple
extra-source-files:  pugixml-1.4/pugiconfig.hpp
                     pugixml-1.4/pugixml.hpp
cabal-version:       >=1.10

library
  exposed-modules:     Text.XML.Pugi
                       Text.XML.Pugi.Mutable
                       Text.XML.Pugi.Const
  other-modules:       Text.XML.Pugi.Foreign.Const
                       Text.XML.Pugi.Foreign.Node
                       Text.XML.Pugi.Foreign.Document
                       Text.XML.Pugi.Foreign.XPath
                       Text.XML.Pugi.Foreign.XPath.Node
                       Text.XML.Pugi.Foreign.Types
                       Text.XML.Pugi.Foreign.Attr
  -- other-modules:       
  -- other-extensions:    
  build-depends:       base               >=4.6  && <4.9
                     , bytestring         >=0.10 && <0.11
                     , data-default-class >=0.0  && <0.1
                     , template-haskell   >=2.8  && <2.11
  -- hs-source-dirs:      
  c-sources:           pugixml-1.4/pugixml.cpp cbit/wrapper.cc
  include-dirs:        pugixml-1.4
  ghc-options:         -Wall -O2
  extra-libraries:     stdc++
  default-language:    Haskell2010

test-suite test
  main-is:             test.hs
  build-depends:       base
                     , bytestring         >=0.10 && <0.11
                     , pugixml
                     , tasty              >=0.10 && <0.11
                     , tasty-hunit        >=0.9  && <0.10
  type:                exitcode-stdio-1.0
  ghc-options:         -Wall -O2 -threaded
  hs-source-dirs:      test
  default-language:    Haskell2010