packages feed

home-assistant-client-0.1.0.0: home-assistant-client.cabal

cabal-version: 2.2

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

name:           home-assistant-client
version:        0.1.0.0
synopsis:       Client library for the Home Assistant API.
description:    Please see the README on GitHub at <https://github.com/mbg/home-assistant-client#readme>
category:       Web
homepage:       https://github.com/mbg/home-assistant-client#readme
bug-reports:    https://github.com/mbg/home-assistant-client/issues
author:         Michael B. Gale
maintainer:     github@michael-gale.co.uk
copyright:      2025 Michael B. Gale
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
extra-doc-files:
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/mbg/home-assistant-client

library
  exposed-modules:
      HomeAssistant.Client
      HomeAssistant.Common.HomeAssistant
      HomeAssistant.Common.Notify
      HomeAssistant.Types
  other-modules:
      Paths_home_assistant_client
  autogen-modules:
      Paths_home_assistant_client
  hs-source-dirs:
      src
  default-extensions:
      DataKinds
      DeriveGeneric
      DerivingVia
      FlexibleInstances
      GADTs
      ImportQualifiedPost
      KindSignatures
      LambdaCase
      OverloadedStrings
      RecordWildCards
      TypeOperators
  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.2.3 && <2.3
    , base >=4.7 && <5
    , bytestring >=0.12.1 && <0.13
    , containers >=0.6.8 && <0.8
    , deriving-aeson >=0.2.10 && <0.3
    , exceptions >=0.10.9 && <0.11
    , http-client >=0.7.19 && <0.8
    , http-client-tls >=0.3.6 && <0.4
    , http-types >=0.12.4 && <0.13
    , servant >=0.20.3 && <0.21
    , servant-client >=0.20.3 && <0.21
    , text >=2.1.1 && <2.2
  default-language: Haskell2010

executable ha-client
  main-is: Main.hs
  other-modules:
      Options
      Paths_home_assistant_client
  autogen-modules:
      Paths_home_assistant_client
  hs-source-dirs:
      app
  default-extensions:
      DataKinds
      DeriveGeneric
      DerivingVia
      FlexibleInstances
      GADTs
      ImportQualifiedPost
      KindSignatures
      LambdaCase
      OverloadedStrings
      RecordWildCards
      TypeOperators
  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 >=2.2.3 && <2.3
    , base >=4.7 && <5
    , bytestring >=0.12.1 && <0.13
    , containers >=0.6.8 && <0.8
    , deriving-aeson >=0.2.10 && <0.3
    , exceptions >=0.10.9 && <0.11
    , home-assistant-client
    , http-client >=0.7.19 && <0.8
    , http-client-tls >=0.3.6 && <0.4
    , http-types >=0.12.4 && <0.13
    , optparse-applicative >=0.18.0 && <0.20
    , servant >=0.20.3 && <0.21
    , servant-client >=0.20.3 && <0.21
    , text >=2.1.1 && <2.2
  default-language: Haskell2010

test-suite home-assistant-client-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_home_assistant_client
  autogen-modules:
      Paths_home_assistant_client
  hs-source-dirs:
      test
  default-extensions:
      DataKinds
      DeriveGeneric
      DerivingVia
      FlexibleInstances
      GADTs
      ImportQualifiedPost
      KindSignatures
      LambdaCase
      OverloadedStrings
      RecordWildCards
      TypeOperators
  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 >=2.2.3 && <2.3
    , base >=4.7 && <5
    , bytestring >=0.12.1 && <0.13
    , containers >=0.6.8 && <0.8
    , deriving-aeson >=0.2.10 && <0.3
    , exceptions >=0.10.9 && <0.11
    , home-assistant-client
    , http-client >=0.7.19 && <0.8
    , http-client-tls >=0.3.6 && <0.4
    , http-types >=0.12.4 && <0.13
    , servant >=0.20.3 && <0.21
    , servant-client >=0.20.3 && <0.21
    , text >=2.1.1 && <2.2
  default-language: Haskell2010