packages feed

json-spec-0.3.0.1: json-spec.cabal

cabal-version:       3.0
name:                json-spec
version:             0.3.0.1
synopsis:            Type-level JSON specification
maintainer:          rick@owensmurray.com
description:         See the README at: https://github.com/owensmurray/json-spec#json-spec
homepage:            https://github.com/owensmurray/json-spec
license:             MIT
license-file:        LICENSE
author:              Rick Owens
category:            JSON
build-type:          Simple
extra-source-files:
  README.md
  LICENSE

common dependencies
  build-depends:
    , aeson      >= 2.0.3.0  && < 2.3
    , base       >= 4.16.0.0 && < 4.20
    , containers >= 0.6.4.1  && < 0.7
    , scientific >= 0.3.7.0  && < 0.4
    , text       >= 1.2.5.0  && < 2.2
    , time       >= 1.9.3    && < 1.13
    , vector     >= 0.12.3.1 && < 0.14

common warnings
  ghc-options:
    -Wmissing-deriving-strategies
    -Wmissing-export-lists
    -Wmissing-import-lists
    -Wredundant-constraints
    -Wall

library
  import: dependencies, warnings
  exposed-modules:
    Data.JsonSpec
  other-modules:       
    Data.JsonSpec.Encode
    Data.JsonSpec.Decode
    Data.JsonSpec.Spec
  -- other-extensions:    
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite jsonspec
  import: dependencies, warnings
  main-is: jsonspec.hs
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  default-language: Haskell2010
  build-depends:
    , json-spec
    , bytestring >= 0.11.1.0 && < 0.13
    , hspec      >= 2.8.5    && < 2.12
    , om-show    >= 0.1.2.9  && < 0.2