forked from haskoin/haskoin-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhaskoin.cabal
148 lines (143 loc) · 6.8 KB
/
haskoin.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
name: haskoin
version: 0.1.0.2
synopsis: Implementation of the Bitcoin protocol.
description:
Haskoin is a package providing an implementation of the Bitcoin protocol
specifications. It provides the cryptographic ECDSA and hashing primitives,
functions for handling BIP32 extended keys, functions for building and
signing various types of regular and multisig transactions and a definition
of the network protocol messages.
homepage: http://github.com/haskoin/haskoin
bug-reports: http://github.com/haskoin/haskoin/issues
stability: experimental
license: PublicDomain
license-file: UNLICENSE
author: Philippe Laprade, Jean-Pierre Rupp
maintainer: plaprade+hackage@gmail.com
category: Bitcoin, Finance, Network
build-type: Simple
cabal-version: >= 1.9.2
extra-source-files: tests/data/*.json,
testnet/Network/Haskoin/Constants.hs,
prodnet/Network/Haskoin/Constants.hs
source-repository head
type: git
location: git://github.com/haskoin/haskoin.git
Flag Testnet
Description: Compile the library against Testnet instead of Prodnet
Default: False
library
exposed-modules: Network.Haskoin.Util,
Network.Haskoin.Stratum,
Network.Haskoin.Crypto,
Network.Haskoin.Node,
Network.Haskoin.Script,
Network.Haskoin.Transaction,
Network.Haskoin.Block,
Network.Haskoin.Constants,
Network.Haskoin.Test,
Network.Haskoin.Internals
other-modules: Network.Haskoin.Crypto.NumberTheory,
Network.Haskoin.Crypto.Curve,
Network.Haskoin.Crypto.Hash,
Network.Haskoin.Crypto.BigWord,
Network.Haskoin.Crypto.Point,
Network.Haskoin.Crypto.Base58,
Network.Haskoin.Crypto.Keys,
Network.Haskoin.Crypto.ExtendedKeys,
Network.Haskoin.Crypto.NormalizedKeys,
Network.Haskoin.Crypto.ECDSA,
Network.Haskoin.Crypto.Mnemonic,
Network.Haskoin.Node.Types,
Network.Haskoin.Node.Message,
Network.Haskoin.Node.Bloom,
Network.Haskoin.Script.Types,
Network.Haskoin.Script.Parser,
Network.Haskoin.Script.SigHash,
Network.Haskoin.Script.Evaluator,
Network.Haskoin.Transaction.Types,
Network.Haskoin.Transaction.Builder,
Network.Haskoin.Block.Types,
Network.Haskoin.Block.Merkle,
Network.Haskoin.Test.Crypto,
Network.Haskoin.Test.Node,
Network.Haskoin.Test.Message,
Network.Haskoin.Test.Script,
Network.Haskoin.Test.Transaction,
Network.Haskoin.Test.Block,
Network.Haskoin.Test.Stratum
build-depends: aeson >= 0.8 && < 0.9,
base >= 4.6 && < 5,
binary >= 0.7 && < 0.8,
byteable >= 0.1 && < 0.2,
bytestring >= 0.10.4 && < 0.11,
containers >= 0.5 && < 0.6,
cryptohash >= 0.11 && < 0.12,
deepseq >= 1.3 && < 1.4,
either >= 4.3 && < 4.4,
json-rpc >= 0.2.0.1 && < 0.3,
mtl >= 2.2 && < 2.3,
network >= 2.6 && < 2.7,
pbkdf >= 1.1 && < 1.2,
QuickCheck >= 2.7 && < 2.8,
split >= 0.2 && < 0.3,
text >= 1.2 && < 1.3
ghc-options: -Wall
if flag(testnet)
hs-source-dirs: . testnet
else
hs-source-dirs: . prodnet
test-suite test-haskoin
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Network.Haskoin.Util.Tests,
Network.Haskoin.Crypto.BigWord.Tests,
Network.Haskoin.Crypto.Point.Tests,
Network.Haskoin.Crypto.ECDSA.Tests,
Network.Haskoin.Crypto.Base58.Tests,
Network.Haskoin.Crypto.Base58.Units,
Network.Haskoin.Crypto.Keys.Tests,
Network.Haskoin.Crypto.ExtendedKeys.Tests,
Network.Haskoin.Crypto.ExtendedKeys.Units,
Network.Haskoin.Crypto.Hash.Tests,
Network.Haskoin.Crypto.Hash.Units,
Network.Haskoin.Crypto.Mnemonic.Tests,
Network.Haskoin.Crypto.Mnemonic.Units,
Network.Haskoin.Crypto.Units,
Network.Haskoin.Node.Units,
Network.Haskoin.Script.Tests,
Network.Haskoin.Script.Units,
Network.Haskoin.Transaction.Tests,
Network.Haskoin.Transaction.Units,
Network.Haskoin.Block.Tests,
Network.Haskoin.Block.Units,
Network.Haskoin.Stratum.Tests,
Network.Haskoin.Stratum.Units,
Network.Haskoin.Json.Tests,
Network.Haskoin.Binary.Tests
build-depends: aeson >= 0.8 && < 0.9,
async >= 2.0 && < 2.1,
base >= 4.6 && < 5,
binary >= 0.7 && < 0.8,
byteable >= 0.1 && < 0.2,
bytestring >= 0.10.4 && < 0.11,
containers >= 0.5 && < 0.6,
cryptohash >= 0.11 && < 0.12,
deepseq >= 1.3 && < 1.4,
either >= 4.3 && < 4.4,
json-rpc >= 0.2.0.1 && < 0.3,
mtl >= 2.2 && < 2.3,
network >= 2.6 && < 2.7,
pbkdf >= 1.1 && < 1.2,
split >= 0.2 && < 0.3,
text >= 1.1 && < 1.3,
HUnit >= 1.2 && < 1.3,
QuickCheck >= 2.7 && < 2.8,
test-framework >= 0.8 && < 0.9,
test-framework-quickcheck2 >= 0.3 && < 0.4,
test-framework-hunit >= 0.3 && < 0.4
ghc-options: -Wall
if flag(testnet)
hs-source-dirs: . tests testnet
else
hs-source-dirs: . tests prodnet