File: aeson-diff.cabal

package info (click to toggle)
haskell-aeson-diff 1.1.0.13-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 396 kB
  • sloc: haskell: 900; makefile: 2
file content (111 lines) | stat: -rw-r--r-- 3,481 bytes parent folder | download | duplicates (2)
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
105
106
107
108
109
110
111
name:                aeson-diff
version:             1.1.0.13
x-revision: 1
synopsis:            Extract and apply patches to JSON documents.
description:
  .
  This is a small library for working with changes to JSON documents. It
  includes a library and two command-line executables in the style of the
  diff(1) and patch(1) commands available on many systems.
  .
homepage:            https://github.com/ysangkok/aeson-diff
license:             BSD3
license-file:        LICENSE
author:              Thomas Sutton
maintainer:          Janus Troelsen <ysangkok@gmail.com>
copyright:           (c) 2015 Thomas Sutton and others.
category:            JSON, Web, Algorithms
build-type:          Custom
cabal-version:       2.0
extra-source-files:  README.md
                   , CHANGELOG.md
                   , stack.yaml
                   , test/data/rfc6902/*.json
                   , test/data/rfc6902/*.txt
                   , test/data/cases/*.json
                   , test/data/cases/*.txt

source-repository      HEAD
  type: git
  location: https://github.com/ysangkok/aeson-diff

library
  default-language:    Haskell2010
  hs-source-dirs:      lib
  exposed-modules:     Data.Aeson.Diff
                     , Data.Aeson.Patch
                     , Data.Aeson.Pointer
  build-depends:       base >=4.11.1 && <5
                     , aeson >= 2.0.3
                     , bytestring >= 0.10
                     , edit-distance-vector
                     , scientific
                     , text
                     , vector

executable             json-diff
  default-language:    Haskell2010
  hs-source-dirs:      src
  main-is:             diff.hs
  other-modules:       Codec
  build-depends:       base
                     , aeson >= 2.0.3
                     , aeson-diff
                     , bytestring
                     , optparse-applicative
                     , yaml

executable             json-patch
  default-language:    Haskell2010
  hs-source-dirs:      src
  main-is:             patch.hs
  other-modules:       Codec
  build-depends:       base
                     , aeson >= 2.0.3
                     , aeson-diff
                     , bytestring
                     , optparse-applicative
                     , yaml

test-suite             properties
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             properties.hs
  build-depends:       base
                     , QuickCheck
                     , aeson >= 2.0.3
                     , aeson-diff
                     , bytestring
                     , vector

test-suite             examples
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             examples.hs
  build-depends:       base
                     , Glob
                     , aeson >= 2.0.3
                     , aeson-diff
                     , bytestring
                     , directory
                     , filepath

test-suite doctests
  default-language:    Haskell2010
  hs-source-dirs:      test
  type:                exitcode-stdio-1.0
  ghc-options:         -threaded
  main-is:             doctests.hs
  build-depends:       base
                     , doctest >= 0.18.2
  other-modules:       Build_doctests
  autogen-modules:     Build_doctests


custom-setup
 setup-depends:
   base >= 4 && <5,
   cabal-doctest >= 1 && <1.1,
   Cabal < 4