packages feed

aeson-diff-1.1.0.15: aeson-diff.cabal

name:                aeson-diff
version:             1.1.0.15
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 <5
                     , 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 <5
                     , 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 <5
                     , 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 <5
                     , 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 <5
                     , 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