packages feed

hjsonschema-0.10.0.3: hjsonschema.cabal

name:                   hjsonschema
version:                0.10.0.3
synopsis:               JSON Schema library
homepage:               https://github.com/seagreen/hjsonschema
license:                MIT
license-file:           MIT-LICENSE.txt
author:                 Ian Grant Jeffries
maintainer:             ian@housejeffries.com
category:               Data
build-type:             Simple
cabal-version:          >=1.10
tested-with:            GHC == 7.8.4, GHC == 7.10.2
extra-source-files:     changelog.txt
                        JSON-Schema-Test-Suite/remotes/*.json
                        JSON-Schema-Test-Suite/remotes/folder/*.json
                        JSON-Schema-Test-Suite/tests/draft4/*.json
                        README.md
                        src/draft4.json
                        test/Local/*.json
                        examples/json/*.json

library
  hs-source-dirs:       src
  exposed-modules:      Data.JsonSchema.Draft4
                      , Data.JsonSchema.Draft4.Internal
                      , Data.JsonSchema.Fetch
                      , Data.Validator.Draft4
                      , Data.Validator.Failure
                      , Data.Validator.Reference
                      , Data.Validator.Utils

  other-modules:        Data.JsonSchema.Draft4.Failure
                      , Data.JsonSchema.Draft4.Schema
                      , Data.Validator.Draft4.Any
                      , Data.Validator.Draft4.Array
                      , Data.Validator.Draft4.Number
                      , Data.Validator.Draft4.Object
                      , Data.Validator.Draft4.Object.Properties
                      , Data.Validator.Draft4.String
                      , Import
  default-language:     Haskell2010
  default-extensions:   ScopedTypeVariables
                        OverloadedStrings
  ghc-options:          -Wall
  build-depends:        aeson                >= 0.7    && < 0.12
                      , base                 >= 4.7    && < 4.10
                      , bytestring           >= 0.10   && < 0.11
                      , containers           >= 0.5    && < 0.6
                      , file-embed           >= 0.0.8  && < 0.1
                      , filepath             >= 1.3    && < 1.5
                      , hjsonpointer         >= 0.3    && < 0.4
                      , http-client          >= 0.4    && < 0.6
                      , http-types           >= 0.8    && < 0.10
                      , pcre-heavy           >= 1.0    && < 1.1
                      , QuickCheck           >= 2.8.1  && < 2.9
                      , scientific           >= 0.3    && < 0.4
                      , semigroups           >= 0.18   && < 0.19
                      , unordered-containers >= 0.2    && < 0.3
                      , text                 >= 1.1    && < 1.3
                      , vector               >= 0.10   && < 0.12

test-suite local
  type:                 exitcode-stdio-1.0
  hs-source-dirs:       test
                        examples
  main-is:              Local.hs
  other-modules:        Local.Failure
                      , Local.Filesystem
                      , Local.Reference
                      , Shared
                      -- from ./examples:
                      , CustomSchema
                      , Full
                      , PrettyShowFailure
                      , Simple
  default-language:     Haskell2010
  ghc-options:          -Wall -fno-warn-orphans
  default-extensions:   OverloadedStrings
  build-depends:        aeson
                      , base
                      , bytestring
                      , filepath
                      , hjsonpointer
                      , hjsonschema
                      , semigroups
                      , text
                      , QuickCheck
                      , unordered-containers
                      , vector
                      , directory            >= 1.2  && < 1.3
                      , HUnit                >= 1.2  && < 1.4
                      , tasty                >= 0.11 && < 0.12
                      , tasty-hunit          >= 0.9  && < 0.10
                      , tasty-quickcheck     >= 0.8  && < 0.9

test-suite remote
  type:                 exitcode-stdio-1.0
  hs-source-dirs:       test
  main-is:              Remote.hs
  other-modules:        Shared
  default-language:     Haskell2010
  ghc-options:          -Wall -fno-warn-orphans
  default-extensions:   OverloadedStrings
  build-depends:        aeson
                      , async
                      , base
                      , bytestring
                      , filepath
                      , hjsonschema
                      , text
                      , vector
                      , directory
                      , HUnit
                      , tasty
                      , tasty-hunit
                      , wai-app-static
                      , warp

source-repository head
  type:               git
  location:           git://github.com/seagreen/hjsonschema.git