cabal-version: 2.2
name: aeson-dependent-sum
version: 0.1.0.0
synopsis: JSON encoding/decoding for dependent-sum
description:
Newtype wrappers around [Data.Dependent.Sum.DSum](https://hackage.haskell.org/package/dependent-sum),
for use with @-XDerivingVia@. These wrappers are helpful when
parsing JSON objects where certain keys determine the type of the
deserialised value.
homepage: https://sr.ht/~jack/aeson-dependent-sum
bug-reports: https://todo.sr.ht/~jack/aeson-dependent-sum
license: GPL-3.0-or-later
license-file: COPYING
author: Jack Kelly
maintainer: jack@jackkelly.name
copyright: (c) 2022 Jack Kelly
category: Network
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
tested-with: GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.1
library
hs-source-dirs: src
exposed-modules: Data.Aeson.Dependent.Sum
ghc-options: -Wall
build-depends:
, aeson >=2.0 && <2.2
, base >=4.9 && <4.18
, constraints-extras ^>=0.3.2.1
, dependent-sum ^>=0.7.1.0
, some ^>=1.0.0.3
, vector >=0.12.3.1 && <0.14
default-language: Haskell2010
test-suite aeson-dependent-sum-tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Data.Aeson.Dependent.SumTest
ghc-options: -Wall -threaded
build-tool-depends: tasty-discover:tasty-discover ^>=5.0
build-depends:
, aeson
, aeson-dependent-sum
, base
, bytestring >=0.10 && <0.12
, constraints-extras
, dependent-sum
, dependent-sum-template ^>=0.1.1.1
, hedgehog >=1.0.5 && <1.2
, tasty >=1.2.3 && <1.5
, tasty-hedgehog >=1.2.0.0 && <1.4
, tasty-hunit ^>=0.10.0.2
hs-source-dirs: test
default-language: Haskell2010
source-repository head
type: git
location: https://git.sr.ht/~jack/aeson-dependent-sum