packages feed

gothic-0.2.0.0: gothic.cabal

cabal-version:      >=1.10
name:               gothic
version:            0.2.0.0
license:            GPL
license-file:       LICENSE
copyright:          (c) 2019-2026 - Michel Boucey
maintainer:         michel.boucey@gmail.com
author:             Michel Boucey
tested-with:
  GHC ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.7
   || ==9.8.4
   || ==9.10.3
   || ==9.12.4

homepage:           https://github.com/MichelBoucey/gothic
synopsis:           A Haskell HashiCorp Vault KVv2 secret engine client
description:        A Haskell HashiCorp Vault KVv2 secret engine client library
category:           DevOps, Security, Database
build-type:         Simple
extra-source-files:
  CHANGELOG.md
  ReadMe.md

source-repository head
  type:     git
  location: https://github.com/MichelBoucey/gothic

library
  exposed-modules:
    Database.Vault.KVv2.Client
    Database.Vault.KVv2.Client.Internal
    Database.Vault.KVv2.Client.Lens
    Database.Vault.KVv2.Client.Requests
    Database.Vault.KVv2.Client.Types

  hs-source-dirs:   src/
  default-language: Haskell2010
  other-extensions: OverloadedStrings
  ghc-options:      -Wall
  build-depends:
      aeson                 >=2.0      && <2.4
    , base                  >=4.8.1.0  && <5
    , bytestring            >=0.10.8.2 && <0.13
    , crypton-connection    >=0.4.0    && <0.5
    , exceptions            >=0.10.0   && <0.11
    , hashable              >=1.4.3    && <1.6
    , http-client           >=0.5.13.1 && <0.8
    , http-client-tls       >=0.3.5.3  && <0.5
    , http-conduit          >=2.3.2    && <2.4
    , http-types            >=0.12.2   && <0.13
    , lens                  >=5.0      && <6
    , lens-aeson            >=1.2      && <1.3
    , scientific            >=0.3.6.2  && <0.4
    , text                  >=1.2.3    && <2.3
    , tls                   >=2.0.0    && <3
    , unix                  >=2.7.2.2  && <2.9
    , unordered-containers  >=0.2.9.0  && <0.3
    , vector                >=0.12.0.1 && <0.14

  if !impl(ghc >=9.4.8)
    build-depends: binary >=0.8.5.1 && <0.9

test-suite gothic-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test/
  default-language: Haskell2010
  other-extensions: OverloadedStrings
  other-modules:
    ClientSpec
    UtilsSpec

  ghc-options:      -Wall
  build-depends:
      aeson                 >=2.0      && <2.4
    , base                  >=4.8.1.0  && <5
    , bytestring            >=0.10.8.2 && <0.13
    , gothic
    , hspec                 >=2.7      && <2.12
    , text                  >=1.2.3    && <2.3
    , unordered-containers  >=0.2.9.0  && <0.3