hjsonschema-1.7.2: hjsonschema.cabal
name: hjsonschema
version: 1.7.2
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
-- Rerun multi-ghc-travis (executable make-travis-yml-2) after changing:
Tested-With: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.1
extra-source-files:
changelog.md
JSON-Schema-Test-Suite/remotes/*.json
JSON-Schema-Test-Suite/remotes/folder/*.json
JSON-Schema-Test-Suite/tests/draft4/*.json
JSON-Schema-Test-Suite/tests/draft4/optional/*.json
README.md
src/draft4.json
test/Local/*.json
test/supplement/*.json
examples/json/*.json
library
hs-source-dirs:
src
default-language: Haskell2010
default-extensions:
DeriveFunctor
DeriveGeneric
GeneralizedNewtypeDeriving
NoImplicitPrelude
OverloadedStrings
ScopedTypeVariables
TupleSections
if impl(ghc >= 8)
default-extensions: StrictData
ghc-options:
-Wall
exposed-modules:
JSONSchema.Draft4
, JSONSchema.Draft4.Failure
, JSONSchema.Draft4.Schema
, JSONSchema.Draft4.Spec
, JSONSchema.Fetch
, JSONSchema.Types
, JSONSchema.Validator.Draft4
, JSONSchema.Validator.Draft4.Any
, JSONSchema.Validator.Draft4.Array
, JSONSchema.Validator.Draft4.Number
, JSONSchema.Validator.Draft4.Object
, JSONSchema.Validator.Draft4.String
, JSONSchema.Validator.Reference
, JSONSchema.Validator.Types
, JSONSchema.Validator.Utils
other-modules:
JSONSchema.Validator.Draft4.Object.Properties
, Import
build-depends:
base >= 4.7 && < 5
-- 0.11 is for `.:!`:
, aeson >= 0.11
, bytestring >= 0.10
, containers >= 0.5
, file-embed >= 0.0.8
, filepath >= 1.3
, hashable >= 1.2
, hjsonpointer >= 1.1
-- 0.4.30 is for parseUrlThrow:
, http-client >= 0.4.30
, http-types >= 0.8
, pcre-heavy >= 1.0
, profunctors >= 5.0
, protolude >= 0.1.10
, QuickCheck >= 2.8
, scientific >= 0.3
, semigroups >= 0.18
, unordered-containers >= 0.2
, text >= 1.1
, vector >= 0.10
test-suite local
hs-source-dirs:
test
examples
main-is: Local.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options:
-Wall
-fno-warn-orphans
default-extensions:
DeriveGeneric
NoImplicitPrelude
OverloadedStrings
ScopedTypeVariables
other-modules:
Local.Failure
, Local.Reference
, Local.Validation
, Shared
-- from ./examples:
, AlternateSchema
, Simple
, TwoStep
build-depends:
base
, aeson
, bytestring
, filepath
, hjsonpointer
, hjsonschema
, profunctors
, protolude
, semigroups
, text
, QuickCheck
, unordered-containers
, vector
-- directory-1.2.5 required for `listDirectory`:
, directory >= 1.2.5
, hspec >= 2.2
test-suite remote
hs-source-dirs:
test
examples
main-is: Remote.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options:
-Wall
-fno-warn-orphans
default-extensions:
DeriveGeneric
NoImplicitPrelude
OverloadedStrings
ScopedTypeVariables
other-modules:
Shared
-- from ./examples:
, AlternateSchema
build-depends:
base
, aeson
, async
, bytestring
, filepath
, hjsonpointer
, hjsonschema
, profunctors
, protolude
, semigroups
, text
, unordered-containers
, vector
, directory
, hspec
, wai-app-static
, warp