packages feed

http-env-gen-0.0.0.0: http-env-gen.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.38.3.
--
-- see: https://github.com/sol/hpack

name:           http-env-gen
version:        0.0.0.0
synopsis:       Generators and tests for http-env
description:    GenValid instances for the types of http-env, and its test suite.
                .
                For more info, see <https://github.com/NorfairKing/http-env the readme>.
category:       Testing
homepage:       https://github.com/NorfairKing/http-env#readme
bug-reports:    https://github.com/NorfairKing/http-env/issues
author:         Tom Sydney Kerckhove
maintainer:     syd@cs-syd.eu
copyright:      Copyright (c) 2026 Tom Sydney Kerckhove
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    LICENSE
    CHANGELOG.md
    test_resources/http-env-settings.txt
    test_resources/http-settings.txt

source-repository head
  type: git
  location: https://github.com/NorfairKing/http-env

library
  exposed-modules:
      Network.HTTP.Env.CircuitBreaker.Gen
      Network.HTTP.Env.FailureBudget.Gen
      Network.HTTP.Env.OptParse.Gen
      Network.HTTP.Env.RateLimit.Gen
  other-modules:
      Paths_http_env_gen
  hs-source-dirs:
      src
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wpartial-fields -Widentities -Wredundant-constraints -Wcpp-undef -Wunused-packages
  build-depends:
      QuickCheck
    , base >=4.20 && <5
    , containers
    , genvalidity
    , genvalidity-containers
    , genvalidity-time
    , http-env
    , time
  default-language: Haskell2010

test-suite http-env-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Network.HTTP.Env.CircuitBreaker.RetrySpec
      Network.HTTP.Env.CircuitBreakerSpec
      Network.HTTP.Env.FailureBudgetSpec
      Network.HTTP.Env.HttpClient.RetrySpec
      Network.HTTP.Env.HttpClientSpec
      Network.HTTP.Env.LogPolicySpec
      Network.HTTP.Env.ManagerSpec
      Network.HTTP.Env.MetricsSpec
      Network.HTTP.Env.NumericSpec
      Network.HTTP.Env.OptParse.DurationSpec
      Network.HTTP.Env.OptParseSpec
      Network.HTTP.Env.PacingSpec
      Network.HTTP.Env.RateLimitSpec
      Network.HTTP.Env.Servant.ClientSpec
      Network.HTTP.Env.Servant.RetrySpec
      Network.HTTP.Env.ServantSpec
      Network.HTTP.EnvSpec
      Spec
      Paths_http_env_gen
  hs-source-dirs:
      test
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wpartial-fields -Widentities -Wredundant-constraints -Wcpp-undef -Wunused-packages -threaded -rtsopts "-with-rtsopts=-N"
  build-tool-depends:
      sydtest-discover:sydtest-discover
  build-depends:
      QuickCheck
    , aeson
    , autodocodec
    , base >=4.20 && <5
    , bytestring
    , containers
    , genvalidity-sydtest
    , genvalidity-time
    , http-client
    , http-client-tls
    , http-env
    , http-env-gen
    , http-types
    , monad-logger
    , opt-env-conf
    , opt-env-conf-test
    , prometheus
    , retry
    , servant
    , servant-client
    , servant-client-core
    , streaming-commons
    , sydtest
    , text
    , time
    , token-limiter-concurrent
    , unliftio
    , wai
    , warp
  default-language: Haskell2010