packages feed

openai-hs-0.3.0.0: openai-hs.cabal

cabal-version: 1.12

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

name:           openai-hs
version:        0.3.0.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-2023 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-tools:
      cpphs
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , casing
    , cpphs
    , http-client
    , http-types
    , openai-servant >=0.2.1
    , servant
    , servant-auth-client
    , 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-tools:
      cpphs
  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-auth-client
    , servant-client
    , servant-client-core
    , servant-multipart-client
    , text
    , vector
  default-language: Haskell2010