packages feed

wled-json-0.1.0.4: wled-json.cabal

cabal-version: 2.2

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

name:           wled-json
version:        0.1.0.4
synopsis:       Convenient interface for interacting with WLED devices
description:    Please see the README on GitHub at <https://github.com/alaendle/wled-json#readme>
category:       Interfaces
homepage:       https://github.com/alaendle/wled-json#readme
bug-reports:    https://github.com/alaendle/wled-json/issues
author:         Andreas Ländle
maintainer:     Andreas Ländle
copyright:      2024-2026 Andreas Ländle
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.2.8
  , GHC == 9.4.8
  , GHC == 9.6.7
  , GHC == 9.8.4
  , GHC == 9.10.3
  , GHC == 9.12.4
  , GHC == 9.14.1
extra-source-files:
    README.md
extra-doc-files:
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/alaendle/wled-json

library
  exposed-modules:
      WLED.Device
      WLED.Lamp.Octocat
      WLED.LampSpec
      WLED.Pattern.Flags
      WLED.Types
  other-modules:
      Paths_wled_json
  autogen-modules:
      Paths_wled_json
  hs-source-dirs:
      src
  ghc-options: -O0 -Weverything -Wno-unsafe -Wno-missing-import-lists -Wno-prepositive-qualified-module -Wno-implicit-prelude -Wno-missing-safe-haskell-mode -Wno-safe -Wno-missing-role-annotations
  build-depends:
      aeson >=2.2.3 && <2.4
    , barbies >=2.0.5 && <2.2
    , base >=4.7 && <5
    , bytestring >=0.11.5.3 && <0.13
    , deriving-aeson >=0.2.9 && <0.3
    , http-conduit >=2.3.9.1 && <2.4
  default-language: Haskell2010

executable wled-json-demo
  main-is: Main.hs
  other-modules:
      Paths_wled_json
  autogen-modules:
      Paths_wled_json
  hs-source-dirs:
      app
  ghc-options: -O0 -Weverything -Wno-unsafe -Wno-missing-import-lists -Wno-prepositive-qualified-module -Wno-implicit-prelude -Wno-missing-safe-haskell-mode -Wno-safe -Wno-missing-role-annotations -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , rhine >=1.4.0.1 && <1.7
    , wled-json
  default-language: Haskell2010
  if impl(ghc > 9.12)
    build-depends:
        semialign <1.4
  else

executable wled-json-simple
  main-is: Main.hs
  other-modules:
      Paths_wled_json
  autogen-modules:
      Paths_wled_json
  hs-source-dirs:
      app-simple
  ghc-options: -O0 -Weverything -Wno-unsafe -Wno-missing-import-lists -Wno-prepositive-qualified-module -Wno-implicit-prelude -Wno-missing-safe-haskell-mode -Wno-safe -Wno-missing-role-annotations -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , wled-json
  default-language: Haskell2010

test-suite wled-json-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      TypesSpec
      Paths_wled_json
  autogen-modules:
      Paths_wled_json
  hs-source-dirs:
      test
  ghc-options: -O0 -Weverything -Wno-unsafe -Wno-missing-import-lists -Wno-prepositive-qualified-module -Wno-implicit-prelude -Wno-missing-safe-haskell-mode -Wno-safe -Wno-missing-role-annotations -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck
    , aeson
    , base >=4.7 && <5
    , hspec
    , wled-json
  default-language: Haskell2010
  build-tool-depends:
      hspec-discover:hspec-discover