-
Notifications
You must be signed in to change notification settings - Fork 50
/
leveldb-haskell.cabal
171 lines (133 loc) · 4.62 KB
/
leveldb-haskell.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
name: leveldb-haskell
version: 0.6.5
synopsis: Haskell bindings to LevelDB
homepage: http://github.com/kim/leveldb-haskell
bug-reports: http://github.com/kim/leveldb-haskell/issues
license: BSD3
license-file: LICENSE
author: Kim Altintop et.al. (see AUTHORS file)
maintainer: [email protected]
copyright: Copyright (c) 2012-2014 The leveldb-haskell Authors
category: Database, FFI
stability: Experimental
build-type: Simple
cabal-version: >=1.10
tested-with: GHC == 7.4.2, GHC == 7.6.4, GHC == 7.8.3, GHC == 7.10.1, GHC == 8.0.1
description:
From <http://code.google.com/p/snappy>:
.
LevelDB is a fast key-value storage library written at Google that provides
an ordered mapping from string keys to string values.
.
.
This library provides a Haskell language binding to LeveldDB. It is in very
early stage and has seen very limited testing.
.
Note: as of v1.3, LevelDB can be built as a shared library. Thus, as of
v0.1.0 of this library, LevelDB is no longer bundled and must be installed
on the target system (version 1.7 or greater is required).
extra-source-files: Readme.md, AUTHORS, CHANGELOG examples/*.hs
source-repository head
type: git
location: git://github.com/kim/leveldb-haskell.git
Flag Examples
description: Build examples
default: False
manual: True
library
exposed-modules: Database.LevelDB
, Database.LevelDB.Base
, Database.LevelDB.C
, Database.LevelDB.Internal
, Database.LevelDB.Iterator
, Database.LevelDB.MonadResource
, Database.LevelDB.Streaming
, Database.LevelDB.Types
, Data.Stream.Monadic
default-language: Haskell2010
build-depends: base >= 3 && < 5
, bytestring
, data-default
, exceptions >= 0.6
, filepath
, resourcet > 0.3.2
, transformers
ghc-options: -Wall -funbox-strict-fields
hs-source-dirs: src
if os(mingw32)
extra-libraries: libstdc++-6
extra-libraries: leveldb
executable leveldb-example-comparator
main-is: comparator.hs
default-language: Haskell2010
build-depends: base >= 3 && < 5
, transformers
, data-default
, leveldb-haskell
ghc-options: -Wall -O -threaded -rtsopts
hs-source-dirs: examples
if flag(Examples)
buildable: True
else
buildable: False
executable leveldb-example-features
main-is: features.hs
default-language: Haskell2010
build-depends: base >= 3 && < 5
, bytestring
, transformers
, resourcet > 0.3.2
, data-default
, leveldb-haskell
ghc-options: -Wall -O -threaded -rtsopts
hs-source-dirs: examples
if flag(Examples)
buildable: True
else
buildable: False
executable leveldb-example-filterpolicy
main-is: filterpolicy.hs
default-language: Haskell2010
build-depends: base >= 3 && < 5
, transformers
, data-default
, leveldb-haskell
ghc-options: -Wall -O -threaded -rtsopts
hs-source-dirs: examples
if flag(Examples)
buildable: True
else
buildable: False
executable leveldb-example-iterforkio
main-is: iterforkio.hs
default-language: Haskell2010
build-depends: base >= 3 && < 5
, async
, bytestring
, data-default
, leveldb-haskell
ghc-options: -Wall -O -threaded -rtsopts
hs-source-dirs: examples
if flag(Examples)
buildable: True
else
buildable: False
test-suite leveldb-properties
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules: Test.Streaming
default-language: Haskell2010
build-depends: base
, bytestring
, data-default
, directory
, exceptions >= 0.6
, mtl
, leveldb-haskell
, QuickCheck >= 2.7
, tasty >= 0.10
, tasty-quickcheck >= 0.8
, temporary
, transformers
ghc-options: -Wall -O -rtsopts -threaded -with-rtsopts=-N