summaryrefslogtreecommitdiff
path: root/amqp.cabal
blob: 0bc7fab5203e962e40ee8fe80154e8daaf71179a (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Name:                amqp
Version:             0.19.0
Synopsis:            Client library for AMQP servers (currently only RabbitMQ)
Description:         Client library for AMQP servers (currently only RabbitMQ)
License:             BSD3
Stability:           alpha
License-file:        LICENSE
Author:              Holger Reinhardt
Category:            Network
Maintainer:          Holger Reinhardt <hreinhardt@gmail.com>
Build-Type:          Simple
Homepage:            https://github.com/hreinhardt/amqp
bug-reports:         https://github.com/hreinhardt/amqp/issues
Cabal-Version:       >=1.8
Extra-source-files:  examples/ExampleConsumer.hs,
                     examples/ExampleProducer.hs,
                     changelog.md

Library
  Build-Depends:
    base >= 4 && < 5,
    binary >= 0.5,
    containers>=0.2,
    bytestring>=0.9,
    data-binary-ieee754>=0.4.2.1,
    text>=0.11.2,
    split>=0.2,
    clock >= 0.4.0.1,
    monad-control >= 0.3,
    connection >= 0.2 && <= 0.4,
    vector,
    stm >= 2.4.0,
    network-uri >= 2.6,
    network > 2.6


  Exposed-modules:    Network.AMQP, Network.AMQP.Types, Network.AMQP.Lifted
  Other-modules:      Network.AMQP.ChannelAllocator, Network.AMQP.Generated, Network.AMQP.Helpers, Network.AMQP.Protocol, Network.AMQP.Internal, Paths_amqp
  GHC-Options:        -Wall

Executable amqp-builder
  Build-Depends:      base >= 4 && < 5, xml == 1.3.*, containers >= 0.2
  Hs-Source-Dirs:     Tools
  Main-is:            Builder.hs
  GHC-Options:        -Wall

source-repository head
  type:     git
  location: https://github.com/hreinhardt/amqp

test-suite spec
  type:
      exitcode-stdio-1.0
  ghc-options:
      -Wall
  hs-source-dirs:
      ., test
  main-is:
      Runner.hs
  other-modules:
      BasicPublishSpec
      BasicRejectSpec
      ChannelSpec
      ConnectionSpec
      ExchangeDeclareSpec
      ExchangeDeleteSpec
      QueueDeclareSpec
      QueueDeleteSpec
      QueuePurgeSpec
  build-depends:
      base >= 4 && < 5
    , binary >= 0.5
    , containers>=0.2
    , bytestring>=0.9
    , data-binary-ieee754>=0.4.2.1
    , text>=0.11.2
    , split>=0.2
    , clock >= 0.4.0.1
    , hspec              >= 1.3
    , hspec-expectations >= 0.3.3
    , connection >= 0.2 && <= 0.4
    , vector
    , stm >= 2.4.0
    , network-uri >= 2.6
    , network > 2.6