]> Git — Sourcephile - haskell/symantic-xml.git/blob - symantic-xml.cabal
Drop the Language prefix in module names
[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: 1.0.0.20190223
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 Symantic.RNC
43 Symantic.RNC.Sym
44 Symantic.RNC.Validate
45 Symantic.RNC.Write
46 Symantic.RNC.Write.Fixity
47 Symantic.RNC.Write.Namespaces
48 Symantic.XML
49 Symantic.XML.Document
50 Symantic.XML.Read
51 Symantic.XML.Read.Parser
52 Symantic.XML.Write
53 default-language: Haskell2010
54 default-extensions:
55 FlexibleContexts
56 FlexibleInstances
57 LambdaCase
58 MultiParamTypeClasses
59 NamedFieldPuns
60 NoImplicitPrelude
61 RecordWildCards
62 ScopedTypeVariables
63 TupleSections
64 -- TypeFamilies
65 ghc-options:
66 -Wall
67 -Wincomplete-uni-patterns
68 -Wincomplete-record-updates
69 -fno-warn-tabs
70 -- -fhide-source-paths
71 build-depends:
72 base >= 4.10 && < 5
73 , bytestring >= 0.10
74 , containers >= 0.5
75 , data-default-class >= 0.1
76 , filepath >= 1.4
77 , hashable >= 1.2.6
78 , hxt-charproperties >= 9.2
79 , megaparsec >= 7.0.4
80 -- , parser-combinators >= 1.0
81 , safe >= 0.3
82 , text >= 1.2
83 , transformers >= 0.5
84 , treeseq >= 1.0
85 , unordered-containers >= 0.2.8
86
87 Test-Suite symantic-xml-test
88 type: exitcode-stdio-1.0
89 hs-source-dirs: test
90 main-is: Main.hs
91 other-modules:
92 RNC.Parser
93 RNC.Commoning
94 Golden
95 -- HUnit
96 -- QuickCheck
97 default-language: Haskell2010
98 default-extensions:
99 LambdaCase
100 NamedFieldPuns
101 NoImplicitPrelude
102 RecordWildCards
103 ViewPatterns
104 ghc-options:
105 -Wall
106 -Wincomplete-uni-patterns
107 -Wincomplete-record-updates
108 -fno-warn-tabs
109 -fhide-source-paths
110 build-depends:
111 symantic-xml
112 , base >= 4.10 && < 5
113 , bytestring >= 0.10
114 , containers >= 0.5
115 , data-default-class >= 0.1
116 , deepseq >= 1.4
117 , filepath >= 1.4
118 , hashable >= 1.2.6
119 , megaparsec >= 7.0.4
120 , tasty >= 0.11
121 , tasty-golden >= 2.3
122 , text >= 1.2
123 , transformers >= 0.4
124 , treeseq >= 1.0
125 -- , QuickCheck >= 2.0
126 -- , tasty-hunit
127 -- , tasty-quickcheck