forked from selectel/bson-haskell
-
Notifications
You must be signed in to change notification settings - Fork 30
/
bson.cabal
78 lines (68 loc) · 2.77 KB
/
bson.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
Name: bson
Version: 0.4.0.1
Synopsis: BSON documents are JSON-like objects with a standard binary
encoding.
Description: A BSON Document is an untyped (dynamically type-checked) record.
I.e. it is a list of name-value pairs, where a Value is a single
sum type with constructors for basic types (Bool, Int, Float,
String, and Time), compound types (List, and (embedded) Document),
and special types (Binary, Javascript, ObjectId, RegEx, and a few
others).
A BSON Document is serialized to a standard binary encoding
defined at <http://bsonspec.org>. This implements version 1 of
that spec.
Category: Data
Homepage: http://github.com/mongodb-haskell/bson
Author: Tony Hannan
Maintainer: Fedor Gogolev <[email protected]>, Greg Weber <[email protected]>
Copyright: Copyright (c) 2010-2012 10gen Inc.
License: Apache-2.0
License-file: LICENSE
Cabal-version: >= 1.10
Build-type: Simple
Extra-Source-Files: CHANGELOG.md
Flag _old-network
description: Control whether to use <http://hackage.haskell.org/package/network-bsd network-bsd>
manual: False
Library
Build-depends: base >= 4.9.0.0 && < 5
, time
, bytestring
, binary >= 0.5 && < 0.9
, cryptohash-md5 == 0.11.*
, data-binary-ieee754
, mtl >= 2
, text >= 0.11
if flag(_old-network)
-- "Network.BSD" is only available in network < 2.9
build-depends: network < 2.9
else
-- "Network.BSD" has been moved into its own package `network-bsd`
build-depends: network-bsd >= 2.7 && < 2.9
Default-Language: Haskell2010
Default-Extensions: BangPatterns, CPP
Exposed-modules: Data.Bson,
Data.Bson.Binary
Source-repository head
Type: git
Location: https://github.com/mongodb-haskell/bson
Test-suite bson-tests
Type: exitcode-stdio-1.0
Hs-source-dirs: tests
Main-is: Tests.hs
Other-modules: Data.Bson.Binary.Tests
Data.Bson.Tests
Ghc-options: -Wall -fno-warn-orphans
-- NB: we depend here on the intra-package lib:bson componant
Build-depends: bson
-- test-specific dependencies
, test-framework >= 0.4
, test-framework-quickcheck2 >= 0.2
, QuickCheck >= 2.4
-- dependency constraints inherited from lib:bson component
, base
, time
, bytestring
, text
Default-Language: Haskell2010
Default-Extensions: CPP