packages feed

ory-hydra-client-2.1.2: ory-hydra-client.cabal

name:           ory-hydra-client
version:        2.1.2
synopsis:       Auto-generated ory-hydra API Client
description:    .
                Client library for calling the ORY Hydra API based on http-client.
                .
                host: localhost
                .
                base path: http://localhost
                .
                ORY Hydra API version: 2.1.2
                .
                OpenAPI version: 6.6.0
                .
category:       Web, OAuth, Network
homepage:       https://github.com/lykahb/ory-hydra-client
author:         Borys Lykah
maintainer:     lykahb@gmail.com
copyright:      2021 - Borys Lykah, Mercury
license:        MIT
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    README.md
    openapi.yaml

Flag UseKatip
  Description: Use the katip package to provide logging (if false, use the default monad-logger package)
  Default:     True
  Manual:      True

library
  hs-source-dirs:
      lib
  ghc-options: -Wall -funbox-strict-fields
  build-depends:
      aeson >=1.0 && <3.0
    , base >=4.7 && <5.0
    , base64-bytestring >1.0 && <2.0
    , bytestring >=0.10.0
    , case-insensitive
    , containers >=0.5.0.0 && <0.8
    , deepseq >= 1.4 && <1.6
    , exceptions >= 0.4
    , http-api-data >= 0.3.4 && <0.5
    , http-client >=0.5 && <0.8
    , http-client-tls
    , http-media >= 0.4 && < 0.9
    , http-types >=0.8 && <0.13
    , iso8601-time >=0.1.3 && <0.2.0
    , microlens >= 0.4.3
    , mtl >=2.2.1
    , network >=2.6.2 && <3.9
    , random >=1.1
    , safe-exceptions <0.2
    , text >=0.11 && <1.3
    , time >=1.5
    , transformers >=0.4.0.0
    , unordered-containers
    , vector >=0.10.9 && <0.13
  other-modules:
      Paths_ory_hydra_client
  exposed-modules:
      ORYHydra
      ORYHydra.API.Jwk
      ORYHydra.API.Metadata
      ORYHydra.API.OAuth2
      ORYHydra.API.Oidc
      ORYHydra.API.Wellknown
      ORYHydra.Client
      ORYHydra.Core
      ORYHydra.Logging
      ORYHydra.MimeTypes
      ORYHydra.Model
      ORYHydra.ModelLens
  default-language: Haskell2010

  if flag(UseKatip)
      build-depends: katip >=0.8 && < 1.0
      other-modules: ORYHydra.LoggingKatip
      cpp-options: -DUSE_KATIP
  else
      build-depends: monad-logger >=0.3 && <0.4
      other-modules: ORYHydra.LoggingMonadLogger
      cpp-options: -DUSE_MONAD_LOGGER

test-suite tests
  type: exitcode-stdio-1.0
  main-is: Test.hs
  hs-source-dirs:
      tests
  ghc-options: -Wall -fno-warn-orphans
  build-depends:
      ory-hydra-client
    , QuickCheck
    , aeson
    , base >=4.7 && <5.0
    , bytestring >=0.10.0
    , containers
    , hspec >=1.8
    , iso8601-time
    , mtl >=2.2.1
    , semigroups
    , text
    , time
    , transformers >=0.4.0.0
    , unordered-containers
    , vector
  other-modules:
      ApproxEq
      Instances
      PropMime
  default-language: Haskell2010