cabal-version: 1.12

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

name:           ollama-haskell
version:        0.1.1.3
synopsis:       Haskell bindings for ollama.
description:    Please see the README on GitHub at <https://github.com/tusharad/ollama-haskell#readme>
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.Types
      Data.Ollama.Common.Utils
      Data.Ollama.Copy
      Data.Ollama.Create
      Data.Ollama.Delete
      Data.Ollama.Embeddings
      Data.Ollama.Generate
      Data.Ollama.List
      Data.Ollama.Ps
      Data.Ollama.Pull
      Data.Ollama.Push
      Data.Ollama.Show
      Ollama
      OllamaExamples
  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
    , base >=4.7 && <5
    , base64-bytestring
    , bytestring
    , directory
    , filepath
    , http-client
    , http-types
    , text
    , time
  default-language: Haskell2010

test-suite ollama-haskell-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      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
    , bytestring
    , directory
    , filepath
    , http-client
    , http-types
    , ollama-haskell
    , silently
    , tasty
    , tasty-hunit
    , text
    , time
  default-language: Haskell2010