-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbitx-bitcoin.cabal
149 lines (124 loc) · 4.55 KB
/
bitx-bitcoin.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
name: bitx-bitcoin
version: 0.12.0.0
synopsis: A Haskell library for working with the BitX bitcoin exchange.
description:
Haskell bindings to the Luno (formerly BitX) REST API, as described here:
<https://www.luno.com/en/api>.
.
Note that since this library interfaces directly with a financial API, great care
must be taken in its use. In particular, the author cannot be held accountable for any
financial losses as a result of programming error, whether that error is in your code,
the code of the author of this library, or Luno's code. This is just common sense.
.
If you need to make sure that nothing funny happens in the code, apart from reading
the source yourself, you should also perform a few test transactions with very small
denominations, as I will strive to do every time before releasing a new version.
.
For a very small usage example, see "Network.Bitcoin.BitX.Public".
license: BSD3
license-file: LICENSE
author: Tebello Thejane, Tristan Seligmann
maintainer: Tebello Thejane <[email protected]>
category: Web, Bitcoin, Finance
build-type: Simple
extra-source-files:
README.md
CHANGES
cabal-version: >=1.10
homepage: https://github.com/tebello-thejane/bitx.hs
tested-with: GHC >=7.8.1 && <=8.2.2
--------------------------------------------------------------------------------
library
exposed-modules:
Network.Bitcoin.BitX
Network.Bitcoin.BitX.Public
Network.Bitcoin.BitX.Private
Network.Bitcoin.BitX.Types
Network.Bitcoin.BitX.Private.Quote
Network.Bitcoin.BitX.Private.Order
Network.Bitcoin.BitX.Private.Withdrawal
Network.Bitcoin.BitX.Private.Fees
Network.Bitcoin.BitX.Response
ghc-options: -Wall
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
other-modules:
Network.Bitcoin.BitX.Internal
Network.Bitcoin.BitX.Types.Internal
Network.Bitcoin.BitX.Types.Internal.Decimal
build-depends: base >=4.5 && <5,
aeson >= 0.8,
exceptions,
text,
time,
bytestring,
network,
QuickCheck >= 2.8,
split >= 0.2.0.0,
scientific,
http-client >= 0.4.6.1,
http-client-tls,
microlens,
microlens-th,
http-types,
deepseq
default-language: Haskell2010
hs-source-dirs: src
--------------------------------------------------------------------------------
source-repository head
type:
git
location:
git://github.com/tebello-thejane/bitx.hs.git
--------------------------------------------------------------------------------
test-suite spec
type:
exitcode-stdio-1.0
ghc-options:
-Wall
hs-source-dirs:
test
main-is:
Spec.hs
default-language: Haskell2010
build-depends: base,
bitx-bitcoin,
hspec == 2.*,
aeson,
bytestring,
time,
microlens,
directory,
text,
safe
build-tool-depends: hspec-discover:hspec-discover == 2.*
other-modules:
Network.Bitcoin.BitX.Spec.Common
Network.Bitcoin.BitX.Spec.Specs.AesonRecordSpec
Network.Bitcoin.BitX.Spec.Specs.NetSpec
Network.Bitcoin.BitX.Spec.Specs.PostSpec
Network.Bitcoin.BitX.Spec.Specs.JsonSpec
Network.Bitcoin.BitX.Spec.Specs.LensSpec
Network.Bitcoin.BitX.Spec.Specs.PrivateSpec
--------------------------------------------------------------------------------
test-suite doctests
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: Doctests.hs
build-depends: base,
doctest >= 0.8
hs-source-dirs: test
default-language: Haskell2010
--------------------------------------------------------------------------------
test-suite example
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: Example.hs
build-depends: base,
microlens,
bitx-bitcoin,
http-types,
http-client,
text
hs-source-dirs: test
default-language: Haskell2010