packages feed

tcp-streams-1.0.0.0: tcp-streams.cabal

name:                tcp-streams
version:             1.0.0.0
synopsis:            One stop solution for tcp client and server with tls support.
description:         One stop solution for tcp client and server with tls support.
license:             BSD3
license-file:        LICENSE
author:              winterland1989
maintainer:          winterland1989@gmail.com
homepage:            https://github.com/didi-FP/tcp-streams
copyright:           (c) Winterland 2016 
category:            Network
build-type:          Simple
extra-source-files:     ChangeLog.md
                    ,   README.md
                    ,   test/cert/*.pem
                    ,   test/cert/*.crt
                    ,   test/cert/*.key

data-files:          mozillaCAStore.pem
cabal-version:       >=1.10

source-repository head
  type:     git
  location: git://github.com/didi-FP/tcp-streams.git

library
  exposed-modules:      Data.TLSSetting
                    ,   Data.Connection
                    ,   System.IO.Streams.TCP
                    ,   System.IO.Streams.TLS

  if !os(windows)
    exposed-modules:    System.IO.Streams.UnixSocket

  other-modules:    Paths_tcp_streams
  -- other-extensions:    
  build-depends:        base           >=4.7  && < 5.0
                    ,   network        >=2.3  && < 3.0
                    ,   bytestring     >= 0.10.2.0
                    ,   io-streams     >= 1.2 && < 2.0
                    ,   tls            >= 1.3 && < 2.0
                    ,   data-default-class
                    ,   x509           >= 1.5 && < 2.0
                    ,   x509-system    >= 1.5 && < 2.0
                    ,   x509-store     >= 1.5 && < 2.0
                    ,   pem           

  ghc-options:    -Wall
  -- hs-source-dirs:      
  default-language:    Haskell2010

test-suite testsuite
  type:              exitcode-stdio-1.0
  Hs-source-dirs:    test
  main-is:           Main.hs
  default-language:  Haskell2010
  ghc-options:    -Wall -threaded
  build-depends:        base
                    ,   io-streams
                    ,   tcp-streams
                    ,   network
                    ,   bytestring
                    ,   HUnit                      >= 1.2      && <2
                    ,   test-framework             >= 0.6      && <0.9
                    ,   test-framework-hunit       >= 0.2.7    && <0.4
                    ,   directory      == 1.*