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