forked from robstewart57/rdf4h
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rdf4h.cabal
146 lines (131 loc) · 4.98 KB
/
rdf4h.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
name: rdf4h
version: 2.0.0
synopsis: A library for RDF processing in Haskell
description:
'RDF for Haskell' is a library for working with RDF in Haskell.
At present it includes parsers and serializers for RDF in the N-Triples
and Turtle, and parsing support for RDF/XML. It provides abilities such as querying
for triples containing a particular subject, predicate, or object, or
selecting triples that satisfy an arbitrary predicate function.
author: Calvin Smith, Rob Stewart, Slava Kravchenko
copyright: (c) Calvin Smith, Rob Stewart, Slava Kravchenko
maintainer: Rob Stewart <robstewart@gmail.com>, Slava Kravchenko
homepage: https://github.com/robstewart57/rdf4h
bug-reports: https://github.com/robstewart57/rdf4h/issues
license: BSD3
license-file: LICENSE.txt
cabal-version: >= 1.8
build-type: Simple
category: RDF
stability: Experimental
tested-with: GHC==7.6.3, GHC==7.8.3, GHC==7.10.2
extra-tmp-files: test
extra-source-files: examples/ParseURLs.hs
flag network-uri
description: Get Network.URI from the network-uri package
default: True
library
exposed-modules: Data.RDF
, Data.RDF.Namespace
, Data.RDF.Types
, Data.RDF.Query
, Data.RDF.Graph.HashMapS
, Data.RDF.Graph.HashMapSP
, Data.RDF.Graph.MapSP
, Data.RDF.Graph.TriplesPatriciaTree
, Data.RDF.Graph.TriplesList
, Text.RDF.RDF4H.TurtleParser
, Text.RDF.RDF4H.TurtleSerializer
, Text.RDF.RDF4H.NTriplesParser
, Text.RDF.RDF4H.NTriplesSerializer
, Text.RDF.RDF4H.XmlParser
build-depends: base >= 3
, bytestring
, directory
, containers
, parsec >= 3
, fgl >= 5.5.2.0
, HTTP >= 4000.0.0
, hxt >= 9.3.1.2
, text >= 1.2.1.0
, unordered-containers
, hashable
, deepseq
, binary
, text-binary
, utf8-string
if impl(ghc < 7.6)
build-depends: ghc-prim
if flag(network-uri)
build-depends: network-uri >= 2.6, network >= 2.6
else
build-depends: network-uri < 2.6, network < 2.6
other-modules: Text.RDF.RDF4H.ParserUtils
, Text.RDF.RDF4H.Interact
hs-source-dirs: src
extensions: BangPatterns RankNTypes MultiParamTypeClasses Arrows FlexibleContexts OverloadedStrings DoAndIfThenElse
ghc-options: -Wall -fno-warn-unused-do-bind -funbox-strict-fields -O2
executable rdf4h
main-is: src/Rdf4hParseMain.hs
build-depends: base >= 4 && < 6
, rdf4h
, containers
, text >= 1.2.1.0
if impl(ghc < 7.6)
build-depends: ghc-prim
if flag(network-uri)
build-depends: network-uri >= 2.6, network >= 2.6
else
build-depends: network-uri < 2.6, network < 2.6
extensions: BangPatterns RankNTypes ScopedTypeVariables MultiParamTypeClasses OverloadedStrings
ghc-options: -Wall -fno-warn-unused-do-bind -funbox-strict-fields
test-suite test-rdf4h
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules: Data.RDF.GraphTestUtils
Data.RDF.Graph.HashMapS_Test
Data.RDF.Graph.HashMapSP_Test
Data.RDF.Graph.MapSP_Test
Data.RDF.Graph.TriplesPatriciaTree_Test
Data.RDF.Graph.TriplesList_Test
Text.RDF.RDF4H.TurtleParser_ConformanceTest
Text.RDF.RDF4H.XmlParser_Test
W3C.Manifest
W3C.NTripleTest
W3C.RdfXmlTest
W3C.W3CAssertions
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-orphans -fno-warn-name-shadowing -funbox-strict-fields
extensions: RankNTypes MultiParamTypeClasses Arrows FlexibleContexts OverloadedStrings
build-depends: base >= 4 && < 6
, rdf4h
, tasty
, tasty-hunit
, tasty-quickcheck
, QuickCheck >= 1.2.0.0
, HUnit >= 1.2.2.1
, bytestring
, containers
, text >= 1.2.1.0
, directory
, safe
if impl(ghc < 7.6)
build-depends: ghc-prim
if flag(network-uri)
build-depends: network-uri >= 2.6, network >= 2.6
else
build-depends: network-uri < 2.6, network < 2.6
other-modules: W3C.TurtleTest
hs-source-dirs: testsuite/tests
benchmark rdf4h-bench
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: MainCriterion.hs
build-depends: base,
criterion,
rdf4h,
text >= 1.2.1.0
ghc-options: -Wall
-O2
source-repository head
type: git
location: https://github.com/robstewart57/rdf4h.git