packages feed

tcp-streams-openssl-1.0.1.0: tcp-streams-openssl.cabal

name:                tcp-streams-openssl
version:             1.0.1.0
synopsis:            Tcp streams using openssl for tls support.
description:         Tcp streams using openssl for 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
cabal-version:       >=1.10

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

library
  exposed-modules:    Data.OpenSSLSetting
                  ,   System.IO.Streams.OpenSSL

  -- 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
                    ,   tcp-streams    >= 1.0 && < 1.1
                    ,   HsOpenSSL      >=0.10.3 && <0.12
                    ,   HsOpenSSL-x509-system == 0.1.*

  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
                    ,   tcp-streams-openssl
                    ,   network
                    ,   bytestring
                    ,   HUnit                      >= 1.2      && <2
                    ,   test-framework             >= 0.6      && <0.9
                    ,   test-framework-hunit       >= 0.2.7    && <0.4