packages feed

hslua-aeson-1.0.3: hslua-aeson.cabal

cabal-version:       2.2
name:                hslua-aeson
version:             1.0.3
synopsis:            Allow aeson data types to be used with lua.
description:         This package provides instances to push and receive any
                     datatype encodable as JSON to and from the Lua stack.
homepage:            https://github.com/tarleb/hslua-aeson#readme
license:             MIT
license-file:        LICENSE
author:              Albert Krewinkel
maintainer:          tarleb+hslua@zeitkraut.de
copyright:           © 2017–2020 Albert Krewinkel
category:            Foreign
build-type:          Simple
extra-source-files:  README.md
                     changelog.md
tested-with:         GHC == 8.0.2
                   , GHC == 8.2.2
                   , GHC == 8.4.3
                   , GHC == 8.6.5
                   , GHC == 8.8.3
                   , GHC == 8.10.1

source-repository head
  type:     git
  location: https://github.com/hslua/hslua-aeson

library
  hs-source-dirs:      src
  exposed-modules:     Foreign.Lua.Aeson
  build-depends:       base                 >= 4.7     && < 5
                     , aeson                >= 0.11    && < 1.6
                     , hashable             >= 1.2     && < 1.4
                     , hslua                >= 1.0     && < 1.1.1 || >= 1.1.2 && < 1.3
                     , scientific           >= 0.3     && < 0.4
                     , text                 >= 1.1.1.0 && < 1.3
                     , unordered-containers >= 0.2     && < 0.3
                     , vector               >= 0.7
  default-language:    Haskell2010
  ghc-options:         -Wall -fno-warn-unused-do-bind

test-suite hslua-aeson-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             AesonSpec.hs
  build-depends:       base
                     , aeson
                     , bytestring       >= 0.10.2 && < 0.11
                     , hspec            >= 2.2
                     , HUnit
                     , QuickCheck
                     , quickcheck-instances
                     , hashable
                     , hslua
                     , hslua-aeson
                     , ieee754
                     , scientific
                     , text
                     , unordered-containers
                     , vector
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
  default-language:    Haskell2010