packages feed

test-certs-0.1.0.2: test-certs.cabal

cabal-version:      3.0
name:               test-certs
version:            0.1.0.2
synopsis:           create temporary SSL certificates in tests
description:
  Its functions generate the certificates as files in a temporary directory.

  * Note: this package depends on [HsOpenSSL](https://hackage.haskell.org/package/HsOpenSSL).
  * It expects the openssl system libraries to be available on your system, this
    is usually the case on most modern linux distributions.

  See the [README](https://github.com/adetokunbo/test-certs#readme) for a usage example.

license:            BSD-3-Clause
license-file:       LICENSE
author:             Tim Emiola
maintainer:         adetokunbo@emio.la
category:           Testing
homepage:           https://github.com/adetokunbo/test-certs#readme
bug-reports:        https://github.com/adetokunbo/test-certs/issues
build-type:         Simple
extra-source-files: ChangeLog.md
tested-with:        GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8
source-repository head
  type:     git
  location: https://github.com/adetokunbo/test-certs.git

library
  exposed-modules:  Test.Certs.Temp
  hs-source-dirs:   src
  build-depends:
    , base        >=4.10     && <5
    , bytestring  >=0.10.8.2 && <0.11  || >=0.11.3 && <0.13
    , filepath    >=1.4      && <1.6
    , HsOpenSSL   >=0.11.7   && <0.12
    , temporary   >=1.2      && <1.5
    , text        >=1.2.3    && <2.2
    , time        >=1.10     && <1.15

  default-language: Haskell2010
  ghc-options:
    -Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs

test-suite test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test
  other-modules:    Certs.TempSpec
  default-language: Haskell2010
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs
    -funbox-strict-fields -optc-O3 -optc-ffast-math

  build-depends:
    , base
    , directory   >=1.3 && <1.4
    , hspec       >=2.1
    , QuickCheck
    , test-certs
    , tls