]> Git — Sourcephile - haskell/symantic-xml.git/blob - symantic-xml.cabal
test: update goldens
[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.20181221
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.3
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 >= 6.3
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 Golden
93 -- HUnit
94 -- QuickCheck
95 default-language: Haskell2010
96 default-extensions:
97 LambdaCase
98 NamedFieldPuns
99 NoImplicitPrelude
100 RecordWildCards
101 ViewPatterns
102 ghc-options:
103 -Wall
104 -Wincomplete-uni-patterns
105 -Wincomplete-record-updates
106 -fno-warn-tabs
107 -fhide-source-paths
108 build-depends:
109 symantic-xml
110 , base >= 4.10 && < 5
111 , bytestring >= 0.10
112 , containers >= 0.5
113 , deepseq >= 1.4
114 , filepath >= 1.4
115 , megaparsec >= 6.3
116 , tasty >= 0.11
117 , tasty-golden >= 2.3
118 , text >= 1.2
119 , transformers >= 0.4
120 , treeseq >= 1.0
121 -- , QuickCheck >= 2.0
122 -- , tasty-hunit
123 -- , tasty-quickcheck