File: zeromq4-haskell.cabal

package info (click to toggle)
haskell-zeromq4-haskell 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 212 kB
  • sloc: haskell: 1,932; makefile: 21
file content (89 lines) | stat: -rw-r--r-- 2,698 bytes parent folder | download
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
name:               zeromq4-haskell
version:            0.8.0
synopsis:           Bindings to ZeroMQ 4.x
category:           System, FFI
license:            MIT
license-file:       LICENSE
author:             Toralf Wittner
maintainer:         Toralf Wittner <tw@dtex.org>
copyright:          (c) 2010 - 2015 zeromq-haskell authors
homepage:           https://gitlab.com/twittner/zeromq-haskell/
stability:          experimental
tested-With:        GHC == 8.2.2
cabal-version:      >= 1.8
build-type:         Simple
extra-source-files:
      README.md
    , CHANGELOG.md
    , AUTHORS
    , examples/*.hs
    , examples/Makefile
    , examples/perf/*.hs
    , examples/perf/Makefile
    , tests/*.hs
    , tests/System/ZMQ4/Test/*.hs

description:
    The 0MQ lightweight messaging kernel is a library which extends
    the standard socket interfaces with features traditionally provided
    by specialised messaging middleware products.
    .
    0MQ sockets provide an abstraction of asynchronous message queues,
    multiple messaging patterns, message filtering (subscriptions),
    seamless access to multiple transport protocols and more.
    .
    This library provides the Haskell language binding to 0MQ >= 4.x

source-repository head
    type:             git
    location:         https://gitlab.com/twittner/zeromq-haskell

library
    hs-source-dirs:    src
    ghc-options:       -Wall -O2 -fwarn-tabs -funbox-strict-fields

    exposed-modules:
        Data.Restricted
        System.ZMQ4
        System.ZMQ4.Monadic
        System.ZMQ4.Internal
        System.ZMQ4.Internal.Base
        System.ZMQ4.Internal.Error

    build-depends:
          base              >= 3    && < 5
        , async             >= 2.0  && < 3.0
        , bytestring        >= 0.10
        , containers        >= 0.5
        , exceptions        >= 0.6  && < 1.0
        , semigroups        >= 0.8
        , transformers      >= 0.3
        , monad-control     >= 1.0
        , transformers-base >= 0.4

    if impl(ghc < 7.6)
        build-depends: ghc-prim == 0.3.*

    if os(windows)
        extra-libraries: zmq
    else
        pkgconfig-depends: libzmq >= 4.0 && < 5.0

    if os(freebsd)
        extra-libraries: pthread

test-suite zeromq-haskell-tests
    type:             exitcode-stdio-1.0
    hs-source-dirs:   tests
    main-is:          tests.hs
    ghc-options:      -Wall -threaded
    other-modules:    System.ZMQ4.Test.Properties
    build-depends:
          zeromq4-haskell
        , async
        , base             >= 3 && < 5
        , bytestring
        , QuickCheck       >= 2.6
        , tasty            >= 0.8
        , tasty-hunit      >= 0.8
        , tasty-quickcheck >= 0.8