summaryrefslogtreecommitdiff
path: root/composite-aeson.cabal
blob: fa8cc8455568dd1c3a33e7a14ad60012df733773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
cabal-version: 1.12

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

name:           composite-aeson
version:        0.6.0.0
synopsis:       JSON for Vinyl/Frames records
description:    Integration between Aeson and Vinyl/Frames records allowing records to be easily converted to JSON using automatic derivation, explicit formats, or a mix of both.
category:       Records
homepage:       https://github.com/ConferHealth/composite#readme
author:         Confer Health, Inc
maintainer:     oss@confer.health
copyright:      2017 Confer Health, Inc.
license:        BSD3
build-type:     Simple

library
  exposed-modules:
      Composite.Aeson
      Composite.Aeson.Base
      Composite.Aeson.CoRecord
      Composite.Aeson.DateTimeFormatUtils
      Composite.Aeson.Enum
      Composite.Aeson.Formats.DateTime
      Composite.Aeson.Formats.Default
      Composite.Aeson.Formats.Generic
      Composite.Aeson.Formats.InternalTH
      Composite.Aeson.Formats.Provided
      Composite.Aeson.Record
      Composite.Aeson.TH
  other-modules:
      Paths_composite_aeson
  hs-source-dirs:
      src
  default-extensions: DataKinds FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving LambdaCase MultiParamTypeClasses MultiWayIf OverloadedStrings PatternSynonyms PolyKinds QuasiQuotes RankNTypes ScopedTypeVariables StandaloneDeriving StrictData TemplateHaskell TupleSections TypeApplications TypeFamilies TypeOperators ViewPatterns
  ghc-options: -Wall -O2
  build-depends:
      aeson >=1.1.2.0 && <1.5
    , aeson-better-errors >=0.9.1.0 && <0.10
    , base >=4.7 && <5
    , composite-base >=0.5.3.0 && <0.7
    , containers >=0.5.7.0 && <0.7
    , contravariant >=1.4 && <1.6
    , generic-deriving >=1.11.2 && <1.13
    , hashable >=1.2.6.1 && <1.3
    , lens >=4.15.4 && <4.18
    , mmorph >=1.0.9 && <1.2
    , mtl >=2.2.1 && <2.3
    , profunctors >=5.2.1 && <5.4
    , scientific >=0.3.5.1 && <0.4
    , tagged >=0.8.5 && <0.9
    , template-haskell >=2.11.1.0 && <2.15
    , text >=1.2.2.2 && <1.3
    , time >=1.6.0.1 && <1.9
    , unordered-containers >=0.2.8.0 && <0.3
    , vector >=0.12.0.1 && <0.13
    , vinyl >=0.5.3 && <0.12
  default-language: Haskell2010

test-suite composite-aeson-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      DateTimeSpec
      EnumSpec
      FieldSpec
      RecordSpec
      THSpec
      TupleSpec
      Paths_composite_aeson
  hs-source-dirs:
      test
  default-extensions: DataKinds FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving LambdaCase MultiParamTypeClasses MultiWayIf OverloadedStrings PatternSynonyms PolyKinds QuasiQuotes RankNTypes ScopedTypeVariables StandaloneDeriving StrictData TemplateHaskell TupleSections TypeApplications TypeFamilies TypeOperators ViewPatterns
  ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N -fno-warn-orphans
  build-depends:
      QuickCheck
    , aeson >=1.1.2.0 && <1.5
    , aeson-better-errors >=0.9.1.0 && <0.10
    , aeson-qq
    , base >=4.7 && <5
    , composite-aeson
    , composite-base >=0.5.3.0 && <0.7
    , containers >=0.5.7.0 && <0.7
    , contravariant >=1.4 && <1.6
    , generic-deriving >=1.11.2 && <1.13
    , hashable >=1.2.6.1 && <1.3
    , hspec
    , lens >=4.15.4 && <4.18
    , mmorph >=1.0.9 && <1.2
    , mtl >=2.2.1 && <2.3
    , profunctors >=5.2.1 && <5.4
    , scientific >=0.3.5.1 && <0.4
    , tagged >=0.8.5 && <0.9
    , template-haskell >=2.11.1.0 && <2.15
    , text >=1.2.2.2 && <1.3
    , time >=1.6.0.1 && <1.9
    , unordered-containers >=0.2.8.0 && <0.3
    , vector >=0.12.0.1 && <0.13
    , vinyl >=0.5.3 && <0.12
  default-language: Haskell2010