packages feed

fadno-xml-1.2: fadno-xml.cabal

name:                fadno-xml
version:             1.2
synopsis:            XML/XSD combinators/schemas/codegen
description:
            Library for generating code from XML schema files, with
            MusicXml 3.1 schema library included. (2.0 and 3.0 can be
            also built with the 'build-old' cabal flag). Includes
            XML "combinator library" XParser for consuming xml,
            a type model for XSD productions, a type model for
            codegen, and the code generator.

homepage:            http://github.com/slpopejoy/fadno-xml
license:             BSD2
license-file:        LICENSE
author:              Stuart Popejoy
maintainer:          spopejoy@panix.com
-- copyright:
category:            XML, Music
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

flag build-old
  description: Expose/build old MusicXML (2.0,3.0) modules with 3.1.
  default:     False
  manual:      True

library
  exposed-modules: Fadno.Xml.Codegen
                   Fadno.Xml.EmitTypes
                   Fadno.Xml.ParseXsd
                   Fadno.Xml.XParser
                   Fadno.Xml.XParse
                   Fadno.Xml.EmitXml
                   Fadno.MusicXml.MusicXml31
  if flag(build-old)
    exposed-modules:
                   Fadno.MusicXml.MusicXml20
                   Fadno.MusicXml.MusicXml30
  -- other-modules:
  -- other-extensions:
  build-depends:       Decimal >= 0.4
                     , base >= 4.9 && < 4.15
                     , containers >= 0.5
                     , lens >= 4.15
                     , mtl >= 2.2
                     , parsec >= 3.1
                     , xml >= 1.3
  hs-source-dirs:      src
  default-language:    Haskell2010