aboutsummaryrefslogtreecommitdiffhomepage
path: root/graylog.cabal
blob: a631763db850fb83668ff93b699367adb9da0b75 (plain) (blame)
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
name:             graylog
version:          0.1.0.1
synopsis:         Support for graylog output.
description:      Support for sending GELF formatted messages to graylog over
                  chunked UDP.
homepage:         https://github.com/AndrewRademacher/haskell-graylog
license:          OtherLicense
license-file:     LICENSE
author:           Andrew Rademacher
maintainer:       andrewrademacher@gmail.com
copyright:        2016 Andrew Rademacher
category:         Web
build-type:       Simple
cabal-version:    >=1.10

source-repository head
    type:               git
    location:           https://github.com/AndrewRademacher/haskell-graylog.git

library
   hs-source-dirs:      src
   default-language:    Haskell2010

   exposed-modules:     Graylog.Gelf
                     ,  Graylog.UDP

   other-modules:       Graylog.Types

   ghc-options:         -Wall -rtsopts

   build-depends:       base            ==4.*

                     ,  aeson
                     ,  aeson-casing
                     ,  bytestring
                     ,  network
                     ,  network-bsd
                     ,  random
                     ,  scientific
                     ,  text
                     ,  time
                     ,  unordered-containers
                     ,  vector

test-suite test-state
   type:                exitcode-stdio-1.0
   main-is:             Main.hs
   hs-source-dirs:      test
   default-language:    Haskell2010

   ghc-options:         -Wall -threaded -with-rtsopts=-N -rtsopts

   other-modules:       Test.Graylog.UDP

   build-depends:       base           ==4.*

                     ,  graylog

                     ,  aeson
                     ,  aeson-casing
                     ,  bytestring
                     ,  file-embed
                     ,  network
                     ,  scientific
                     ,  tasty
                     ,  tasty-hunit
                     ,  text
                     ,  time
                     ,  vector