packages feed

xsd-0.5.0.1: xsd.cabal

name:                 xsd
version:              0.5.0.1
license:              BSD3
license-file:         LICENSE
author:               Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
maintainer:           Stefan Wehr <wehr@factisresearch.com>, Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
copyright:            2010-2014 Tony Morris, Stefan Wehr
synopsis:             XML Schema data structures
category:             XML
description:          XML Schema data structures (XSD)
homepage:             https://github.com/tonymorris/xsd
bug-reports:          https://github.com/tonymorris/xsd/issues
cabal-version:        >= 1.10
build-type:           Custom
extra-source-files:   ChangeLog

source-repository     head
  type:               git
  location:           git@github.com:tonymorris/xsd.git

flag                  small_base
  description:        Choose the new, split-up base package.

library
  default-language:
                      Haskell2010

  build-depends:      base < 5 && >= 4.5
                      , attoparsec >= 0.11
                      , text >= 1.0
                      , time >= 1.2.0.3
                      , lens >= 4

  ghc-options:
                      -Wall

  default-extensions:
                      NoImplicitPrelude

  hs-source-dirs:
                      src

  exposed-modules:
                      Text.XML.XSD
                      Text.XML.XSD.DateTime

test-suite doctests
  type:
                      exitcode-stdio-1.0

  main-is:
                      doctests.hs

  default-language:
                      Haskell2010

  build-depends:
                      base < 5 && >= 3
                      , doctest >= 0.9.7
                      , filepath >= 1.3
                      , directory >= 1.1
                      , QuickCheck >= 2.0
                      , quickcheck-instances >= 0.3

  ghc-options:
                      -Wall
                      -threaded

  hs-source-dirs:
                      test