]> Git — Sourcephile - haskell/symantic-xml.git/blob - symantic-xml.cabal
Upgrade to megaparsec-7
[haskell/symantic-xml.git] / symantic-xml.cabal
1 name: symantic-xml
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 0.0.0.20190118
6 category: Data Structures
7 synopsis: Library for reading, validating and writing a subset of the XML format.
8 description: Symantics for an approximative implementation
9 of XML (eXtensible Markup Language) and RNC (RelaxNG Compact).
10 .
11 Motivation: Other Haskell libraries do not fit my needs or are too heavy/complex.
12 I like the principle to parse XML using some symantics,
13 which can both generate a Megaparsec parser to validate the XML tree,
14 and a RNC rendition of the schema it validates.
15 .
16 DISCLAMER: My life being's too short, I'm NOT burning my brain
17 on seriously conforming to the too complex XML and RNC formats.
18 Still I try to respect a vague subset of those,
19 unless it makes the code more complex than I am comfortable with.
20 extra-doc-files:
21 license: GPL-3
22 license-file: COPYING
23 stability: experimental
24 author: Julien Moutinho <julm+symantic-xml@autogeree.net>
25 maintainer: Julien Moutinho <julm+symantic-xml@autogeree.net>
26 bug-reports: Julien Moutinho <julm+symantic-xml@autogeree.net>
27 -- homepage:
28
29 build-type: Simple
30 cabal-version: 1.24
31 tested-with: GHC==8.4.4
32 extra-source-files:
33 stack.yaml
34 extra-tmp-files:
35
36 Source-Repository head
37 location: git://git.autogeree.net/symantic-xml
38 type: git
39
40 Library
41 exposed-modules:
42 Language.Symantic.RNC
43 Language.Symantic.RNC.Sym
44 Language.Symantic.RNC.Validate
45 Language.Symantic.RNC.Write
46 Language.Symantic.RNC.Write.Fixity
47 Language.Symantic.RNC.Write.Namespaces
48 Language.Symantic.XML
49 Language.Symantic.XML.Document
50 Language.Symantic.XML.Parser
51 Language.Symantic.XML.Read
52 Language.Symantic.XML.Read.Parser
53 Language.Symantic.XML.Write
54 default-language: Haskell2010
55 default-extensions:
56 FlexibleContexts
57 FlexibleInstances
58 LambdaCase
59 MultiParamTypeClasses
60 NamedFieldPuns
61 NoImplicitPrelude
62 RecordWildCards
63 ScopedTypeVariables
64 TupleSections
65 -- TypeFamilies
66 ghc-options:
67 -Wall
68 -Wincomplete-uni-patterns
69 -Wincomplete-record-updates
70 -fno-warn-tabs
71 -- -fhide-source-paths
72 build-depends:
73 base >= 4.10 && < 5
74 , bytestring >= 0.10
75 , containers >= 0.5
76 , data-default-class >= 0.1
77 , filepath >= 1.4
78 , hashable >= 1.2.6
79 , hxt-charproperties >= 9.2
80 , megaparsec >= 7.0.4
81 -- , parser-combinators >= 1.0
82 , safe >= 0.3
83 , text >= 1.2
84 , transformers >= 0.5
85 , treeseq >= 1.0
86 , unordered-containers >= 0.2.8
87
88 Test-Suite symantic-xml-test
89 type: exitcode-stdio-1.0
90 hs-source-dirs: test
91 main-is: Main.hs
92 other-modules:
93 Golden
94 -- HUnit
95 -- QuickCheck
96 default-language: Haskell2010
97 default-extensions:
98 LambdaCase
99 NamedFieldPuns
100 NoImplicitPrelude
101 RecordWildCards
102 ViewPatterns
103 ghc-options:
104 -Wall
105 -Wincomplete-uni-patterns
106 -Wincomplete-record-updates
107 -fno-warn-tabs
108 -fhide-source-paths
109 build-depends:
110 symantic-xml
111 , base >= 4.10 && < 5
112 , bytestring >= 0.10
113 , containers >= 0.5
114 , deepseq >= 1.4
115 , filepath >= 1.4
116 , megaparsec >= 7.0.4
117 , tasty >= 0.11
118 , tasty-golden >= 2.3
119 , text >= 1.2
120 , transformers >= 0.4
121 , treeseq >= 1.0
122 -- , QuickCheck >= 2.0
123 -- , tasty-hunit
124 -- , tasty-quickcheck