packages feed

ollama-haskell-0.2.0.0: ollama-haskell.cabal

cabal-version: 1.12

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

name:           ollama-haskell
version:        0.2.0.0
synopsis:       Haskell client for ollama.
description:    Ollama client for Haskell
category:       Web
homepage:       https://github.com/tusharad/ollama-haskell#readme
bug-reports:    https://github.com/tusharad/ollama-haskell/issues
author:         tushar
maintainer:     tusharadhatrao@gmail.com
copyright:      2024 tushar
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/tusharad/ollama-haskell

library
  exposed-modules:
      Data.Ollama.Chat
      Data.Ollama.Common.Config
      Data.Ollama.Common.Error
      Data.Ollama.Common.SchemaBuilder
      Data.Ollama.Common.Types
      Data.Ollama.Common.Utils
      Data.Ollama.Conversation
      Data.Ollama.Copy
      Data.Ollama.Create
      Data.Ollama.Delete
      Data.Ollama.Embeddings
      Data.Ollama.Generate
      Data.Ollama.List
      Data.Ollama.Load
      Data.Ollama.Ps
      Data.Ollama.Pull
      Data.Ollama.Push
      Data.Ollama.Show
      Ollama
  other-modules:
      Paths_ollama_haskell
  hs-source-dirs:
      src
  default-extensions:
      ImportQualifiedPost
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      aeson ==2.*
    , base >=4.7 && <5
    , base64-bytestring ==1.*
    , bytestring >=0.10 && <0.13
    , containers >=0.6 && <0.9
    , directory >=1 && <1.4
    , filepath >=1 && <1.6
    , http-client >=0.6 && <0.8
    , http-client-tls >=0.2 && <0.4
    , http-types >=0.7 && <0.13
    , mtl ==2.*
    , stm ==2.*
    , text >=1 && <3
    , time ==1.*
  default-language: Haskell2010

test-suite ollama-haskell-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Test.Ollama.Chat
      Test.Ollama.Embedding
      Test.Ollama.Generate
      Test.Ollama.Show
      Paths_ollama_haskell
  hs-source-dirs:
      test
  default-extensions:
      ImportQualifiedPost
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.7 && <5
    , base64-bytestring ==1.*
    , bytestring >=0.10 && <0.13
    , containers >=0.6 && <0.9
    , directory >=1 && <1.4
    , filepath >=1 && <1.6
    , http-client >=0.6 && <0.8
    , http-client-tls >=0.2 && <0.4
    , http-types >=0.7 && <0.13
    , mtl ==2.*
    , ollama-haskell
    , scientific
    , silently
    , stm ==2.*
    , tasty >=1.5
    , tasty-hunit
    , text
    , time ==1.*
  default-language: Haskell2010