38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
|
cabal-version: 2.4
|
||
|
name: deriving-aeson
|
||
|
version: 0.2.9
|
||
|
x-revision: 1
|
||
|
synopsis: Type driven generic aeson instance customisation
|
||
|
description: This package provides a newtype wrapper with
|
||
|
FromJSON/ToJSON instances customisable via a phantom type parameter.
|
||
|
The instances can be rendered to the original type using DerivingVia.
|
||
|
bug-reports: https://github.com/fumieval/deriving-aeson
|
||
|
license: BSD-3-Clause
|
||
|
license-file: LICENSE
|
||
|
author: Fumiaki Kinoshita
|
||
|
maintainer: fumiexcel@gmail.com
|
||
|
copyright: Copyright (c) 2020 Fumiaki Kinoshita
|
||
|
category: JSON, Generics
|
||
|
extra-source-files: CHANGELOG.md, README.md
|
||
|
tested-with: GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.7, GHC == 9.2.5, GHC == 9.4.4
|
||
|
|
||
|
source-repository head
|
||
|
type: git
|
||
|
location: https://github.com/fumieval/deriving-aeson.git
|
||
|
|
||
|
library
|
||
|
exposed-modules:
|
||
|
Deriving.Aeson
|
||
|
Deriving.Aeson.Stock
|
||
|
build-depends: base >= 4.12 && <5, aeson >= 1.4.7.0 && <2.3
|
||
|
hs-source-dirs: src
|
||
|
default-language: Haskell2010
|
||
|
ghc-options: -Wall -Wcompat
|
||
|
|
||
|
test-suite test
|
||
|
type: exitcode-stdio-1.0
|
||
|
main-is: test.hs
|
||
|
build-depends: base, aeson, deriving-aeson, bytestring
|
||
|
hs-source-dirs: tests
|
||
|
default-language: Haskell2010
|