packages feed

aeson-decode-0.1.0.1: aeson-decode.cabal

cabal-version: 3.0

name: aeson-decode
version: 0.1.0.1
category: JSON

synopsis: Easy functions for converting from Aeson.Value

description:
    A small and simple library for interpreting JSON after it has
    been parsed by @aeson@ into the @Value@ type.

    Decoding failures do not come with any error messages; results
    are all @Maybe@.

homepage:    https://github.com/typeclasses/aeson-decode
bug-reports: https://github.com/typeclasses/aeson-decode/issues

author:     Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2018 Mission Valley Software LLC
license: Apache-2.0
license-file: license.txt

extra-source-files: *.md

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

common base
    default-language: GHC2021
    default-extensions:
        BlockArguments
        LambdaCase
        NoImplicitPrelude
        ViewPatterns
    ghc-options: -Wall
    build-depends:
      , aeson ^>= 2.0 || ^>= 2.1
      , base ^>= 4.16 || ^>= 4.17
      , containers ^>= 0.6.5
      , data-default-class ^>= 0.1.2
      , quaalude ^>= 0.0
      , text ^>= 1.2.5 || ^>= 2.0
      , unordered-containers ^>= 0.2.17
      , vector ^>= 0.12.3

library
    import: base
    hs-source-dirs: src
    exposed-modules: AesonDecode

test-suite test-aeson-decode
    import: base
    type: exitcode-stdio-1.0
    hs-source-dirs: test
    ghc-options: -threaded
    default-extensions:
        OverloadedLists
        OverloadedStrings
        QuasiQuotes
    main-is: Main.hs
    other-modules:
        Examples.Asset
        Examples.Policy
    build-depends:
      , aeson-decode
      , aeson-qq ^>= 0.8.4
      , hspec ^>= 2.8.5 || ^>= 2.9 || ^>= 2.10
      , time ^>= 1.11.1 || ^>= 1.12