/
sstable.cabal
58 lines (48 loc) · 1.28 KB
/
sstable.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
cabal-version: >= 1.6
name: sstable
version: 1.0
build-type: Simple
license: BSD3
license-file: LICENSE
author: marius a. eriksen
category: Data
synopsis: SSTables in Haskell
description:
.
This library implements SSTables as described in the Bigtable
paper: <http://labs.google.com/papers/bigtable.html>
.
maintainer: marius a. eriksen
copyright: (c) 2010 marius a. eriksen
flag tests
description: Build test executables.
default: False
library
hs-source-dirs: src
build-depends:
base == 4.*, containers >= 0.2,
bytestring >= 0.9, binary >= 0.5,
deepseq >= 1.1, array >= 0.2,
iteratee >= 0.3.4, directory >= 1.0
exposed-modules:
Data.SSTable, Data.SSTable.Writer, Data.SSTable.Packing
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
executable sstable
hs-source-dirs: src
main-is: sstable.hs
build-depends:
cmdargs >= 0.1
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
executable testSSTable
hs-source-dirs:
test
src
main-is: Test.hs
other-modules: PackingTest, BinarySearchTest
if flag(tests)
build-depends:
QuickCheck >= 2 && < 3, test-framework >= 0.2,
test-framework-quickcheck2 >= 0.2
else
executable: False
buildable: False