File: aeson-compat.cabal

package info (click to toggle)
haskell-aeson-compat 0.3.8-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 88 kB
  • sloc: haskell: 394; makefile: 5
file content (99 lines) | stat: -rw-r--r-- 2,630 bytes parent folder | download
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
name:           aeson-compat
version:        0.3.8
synopsis:       Compatibility layer for aeson
description:    Compatibility layer for @aeson@
category:       Web
homepage:       https://github.com/phadej/aeson-compat#readme
bug-reports:    https://github.com/phadej/aeson-compat/issues
author:         Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:     Oleg Grenrus <oleg.grenrus@iki.fi>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
tested-with:
  GHC==7.6.3,
  GHC==7.8.4,
  GHC==7.10.3,
  GHC==8.0.2,
  GHC==8.2.2,
  GHC==8.4.3

extra-source-files:
    CHANGELOG.md
    README.md

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

library
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base                     >=4.6  && <4.12
    , base-compat              >=0.6.0 && <0.11
    , aeson                    >=0.7.0.6 && <1.5
    , attoparsec               >=0.12 && <0.14
    , attoparsec-iso8601       >=1.0.0.0 && <1.1
    , bytestring               >=0.10 && <0.11
    , containers               >=0.5  && <0.6
    , exceptions               >=0.8  && <0.11
    , hashable                 >=1.2  && <1.3
    , scientific               >=0.3  && <0.4
    , text                     >=1.2  && <1.3
    , time                     >=1.4.0.1 && <1.9
    , time-locale-compat       >=0.1.0.1 && <0.2
    , unordered-containers     >=0.2  && <0.3
    , vector                   >=0.10 && <0.13
    , tagged                   >=0.7.3 && <0.9

  if !impl(ghc >= 8.0)
    build-depends:
      semigroups               >=0.16.2.2  && <0.19
  if !impl(ghc >= 7.10)
    build-depends:
      nats                     >=1         && <1.2

  exposed-modules:
      Data.Aeson.Compat
  default-language: Haskell2010

test-suite aeson-compat-test
  type: exitcode-stdio-1.0
  main-is: Tests.hs
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base
    , base-compat
    , aeson
    , attoparsec
    , bytestring
    , containers
    , exceptions
    , hashable
    , scientific
    , text
    , time
    , time-locale-compat
    , unordered-containers
    , vector
    , tagged
    , aeson-compat
    , base-orphans          >=0.4.5 && <0.8
    , tasty                 >=0.10 && <1.2
    , tasty-hunit           >=0.9  && <0.11
    , tasty-quickcheck      >=0.8  && <0.11
    , QuickCheck            >=2.10 && <2.12
    , quickcheck-instances  >=0.3.16  && <0.4

  if !impl(ghc >= 8.0)
    build-depends:
      semigroups
  if !impl(ghc >= 7.10)
    build-depends:
      nats
  default-language: Haskell2010