summaryrefslogtreecommitdiff
path: root/cryptoconditions.cabal
blob: 08288acfbd8a2b0b8593e892337e5520fffb0ff1 (plain)
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
name:                cryptoconditions
version:             0.2.5
synopsis:            Interledger Crypto-Conditions
description:         Please see README.md
homepage:            https://github.com/libscott/cryptoconditions-hs
license:             BSD3
license-file:        LICENSE
author:              Scott Sadler
maintainer:          Scott Sadler <scott@scottsadler.de>
category:            Crypto, Finance, Network
build-type:          Simple
extra-source-files:  README.md
copyright:           Copyright (C) 2017 Scott Sadler
cabal-version:       >=1.10

library
  hs-source-dirs:      .
  exposed-modules:     Network.CryptoConditions
                     , Network.CryptoConditions.Encoding
                     , Network.CryptoConditions.Impl
                     , Network.CryptoConditions.Json
  build-depends:       base >= 4.7 && < 5
                     , aeson
                     , asn1-encoding
                     , asn1-parse
                     , asn1-types
                     , base64-bytestring
                     , bytestring
                     , containers
                     , cryptonite
                     , memory
                     , text
  default-language:    Haskell2010

test-suite cryptoconditions-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Tests.hs
  other-modules:       TestStandard
                     , TestSupport
                     , TestUnits
                     , TestVectors
  build-depends:       base
                     , cryptoconditions
                     , aeson
                     , asn1-encoding
                     , base16-bytestring
                     , base64-bytestring
                     , bytestring
                     , containers
                     , cryptonite
                     , aeson-quick
                     , text
                     , transformers
                     , tasty
                     , tasty-hunit
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/libscott/cryptoconditions-hs