symantic-xml-2.0.0.20200523: symantic-xml.cabal
name: symantic-xml
-- PVP: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 2.0.0.20200523
category: Text, XML
synopsis: Library for reading, validating and writing XML.
description: Symantics for XML (eXtensible Markup Language)
and RNC (RelaxNG Compact).
.
DISCLAIMER: This is an experimental library, use at your own risks.
.
Motivation: Writing a schema using Haskell combinators
and deriving automatically a reader, a writer
and a documentation from it.
.
Example:
.
* <symantic-atom https://hackage.haskell.org/package/symantic-atom>
extra-doc-files:
license: GPL-3
license-file: COPYING
stability: experimental
author: Julien Moutinho <julm+symantic-xml@sourcephile.fr>
maintainer: Julien Moutinho <julm+symantic-xml@sourcephile.fr>
bug-reports: Julien Moutinho <julm+symantic-xml@sourcephile.fr>
-- homepage:
build-type: Simple
cabal-version: 1.24
tested-with: GHC==8.8.3
extra-source-files:
stack.yaml
stack.yaml.lock
extra-tmp-files:
Source-Repository head
location: git://git.sourcephile.fr/haskell/symantic-xml
type: git
Library
hs-source-dirs: src
exposed-modules:
Symantic.XML
Symantic.XML.Language
Symantic.XML.Namespace
Symantic.XML.Read
Symantic.XML.RelaxNG
Symantic.XML.RelaxNG.Compact.Write
Symantic.XML.RelaxNG.Language
Symantic.XML.Text
Symantic.XML.Tree
Symantic.XML.Tree.Data
Symantic.XML.Tree.Read
Symantic.XML.Tree.Source
Symantic.XML.Tree.Write
Symantic.XML.Write
default-language: Haskell2010
default-extensions:
DefaultSignatures
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
RecordWildCards
ScopedTypeVariables
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ghc-options:
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-- -fhide-source-paths
build-depends:
base >= 4.10 && < 5
, bytestring >= 0.10
, containers >= 0.5
, hashable >= 1.2.6
, hxt-charproperties >= 9.2
, megaparsec >= 8.0
, symantic-base >= 0.0
, text >= 1.2
, transformers >= 0.5
, treeseq >= 1.0
, unordered-containers >= 0.2.8
Test-Suite symantic-xml-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
RelaxNG.Commoning
RelaxNG.Whatever
Golden
-- HUnit
-- QuickCheck
default-language: Haskell2010
default-extensions:
LambdaCase
NamedFieldPuns
NoImplicitPrelude
RecordWildCards
TypeFamilies
ViewPatterns
ghc-options:
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-fhide-source-paths
build-depends:
symantic-xml
, symantic-base >= 0.0
, base >= 4.10 && < 5
, bytestring >= 0.10
, containers >= 0.5
, deepseq >= 1.4
, hashable >= 1.2.6
, megaparsec >= 7.0.4
, tasty >= 0.11
, tasty-golden >= 2.3
-- , tasty-hunit
, text >= 1.2
-- , time >= 1.9
, transformers >= 0.4
, treeseq >= 1.0
-- , QuickCheck >= 2.0
-- , tasty-quickcheck