packages feed

openai-hs-0.2.2.0: openai-hs.cabal

cabal-version: 1.12

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

name:           openai-hs
version:        0.2.2.0
synopsis:       Unofficial OpenAI client
description:    Unofficial OpenAI client
category:       Web
homepage:       https://github.com/agrafix/openai-hs#readme
bug-reports:    https://github.com/agrafix/openai-hs/issues
author:         Alexander Thiemann <mail@thiemann.at>
maintainer:     Alexander Thiemann <mail@thiemann.at>
copyright:      2021-2022 Alexander Thiemann <mail@thiemann.at>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/agrafix/openai-hs

library
  exposed-modules:
      OpenAI.Client
      OpenAI.Client.Internal.Helpers
  other-modules:
      Paths_openai_hs
  hs-source-dirs:
      src
  default-extensions:
      OverloadedStrings
      DataKinds
      TypeOperators
      TypeFamilies
      GADTs
      FlexibleInstances
      FlexibleContexts
      MultiParamTypeClasses
      StrictData
      ScopedTypeVariables
      DeriveGeneric
      DeriveFunctor
  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , casing
    , cpphs
    , http-client
    , http-types
    , openai-servant >=0.2.1
    , servant
    , servant-client
    , servant-multipart-client
    , text
  default-language: Haskell2010

test-suite openai-hs-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      ApiSpec
      HelperSpec
      Paths_openai_hs
  hs-source-dirs:
      test
  default-extensions:
      OverloadedStrings
      DataKinds
      TypeOperators
      TypeFamilies
      GADTs
      FlexibleInstances
      FlexibleContexts
      MultiParamTypeClasses
      StrictData
      ScopedTypeVariables
      DeriveGeneric
      DeriveFunctor
  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , casing
    , containers
    , cpphs
    , hspec
    , http-client
    , http-client-tls
    , http-types
    , openai-hs
    , openai-servant >=0.2.1
    , servant
    , servant-client
    , servant-client-core
    , servant-multipart-client
    , text
    , vector
  default-language: Haskell2010