]> git.immae.eu Git - github/fretlink/haskell-graylog.git/blobdiff - graylog.cabal
Merge pull request #3 from antoine-fl/bump_lts
[github/fretlink/haskell-graylog.git] / graylog.cabal
index d7d1163f2ea508505c1f6cfadee1502a23cf1a93..a631763db850fb83668ff93b699367adb9da0b75 100644 (file)
@@ -1,9 +1,10 @@
 name:             graylog
-version:          0.1.0.0
+version:          0.1.0.1
 synopsis:         Support for graylog output.
-description:      Please see README.md
-homepage:         http://github.com/githubuser/graylog#readme
-license:          MIT
+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
@@ -12,19 +13,58 @@ category:         Web
 build-type:       Simple
 cabal-version:    >=1.10
 
-library 
+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
+