json-api-lib-0.3.0.0: json-api-lib.cabal
cabal-version: 2.0
name: json-api-lib
version: 0.3.0.0
homepage: https://github.com/shirren/json-api-lib
bug-reports: https://github.com/shirren/json-api-lib/issues
license: MIT
license-file: LICENSE
author: Todd Mohney, Shirren Premaratne
copyright: 2016 Todd Mohney
category: Network
build-type: Simple
maintainer: Shirren Premaratne, George Wilson
extra-source-files: CHANGELOG.md
tested-with: GHC == 8.4.4
|| == 8.6.5
|| == 8.8.3
|| == 8.10.1
synopsis: Utilities for generating JSON-API payloads
description:
Provides utilities for deriving JSON payloads conformant to the json-api
specification
source-repository head
type: git
location: https://github.com/shirren/json-api-lib.git
library
build-depends: aeson > 1.4 && < 1.6
, base >= 4.11 && < 5
, containers >= 0.6.1 && < 0.7
, data-default >= 0.7.1 && < 0.8
, deepseq >= 1.4 && < 1.5
, lens >= 4.17.1 && < 4.20
, lens-aeson >= 1.0.2 && < 1.2
, text >= 1.2.3.1 && < 1.3
, unordered-containers >= 0.2.10 && < 0.3
, uri-encode >= 1.5.0 && < 1.6
default-language: Haskell2010
default-extensions:
DeriveGeneric
GeneralizedNewtypeDeriving
OverloadedStrings
RecordWildCards
TemplateHaskell
exposed-modules:
Network.JSONApi
Network.JSONApi.Error
Network.JSONApi.Document
Network.JSONApi.Identifier
Network.JSONApi.Meta
Network.JSONApi.Link
Network.JSONApi.Pagination
Network.JSONApi.Resource
other-modules:
ghc-options:
-Wall
-fwarn-unused-matches
-fwarn-unused-binds
-fwarn-unused-imports
hs-source-dirs: src
test-suite json-api-lib-test
build-depends: aeson > 1.4 && < 1.6
, aeson-pretty > 0.8 && < 0.9
, base >= 4.11 && < 5
, bytestring >= 0.10.8 && < 0.11
, containers >= 0.6.1 && < 0.7
, data-default >= 0.7.1 && < 0.8
, hspec >= 2.7.1 && < 2.8
, json-api-lib
, lens >= 4.17.1 && < 4.20
, lens-aeson >= 1.0.2 && < 1.2
, text >= 1.2.3.1 && < 1.3
, unordered-containers >= 0.2.10 && < 0.3
, uri-encode >= 1.5.0 && < 1.6
build-tool-depends: hspec-discover:hspec-discover == 2.*
default-language: Haskell2010
default-extensions:
DeriveGeneric
GeneralizedNewtypeDeriving
OverloadedStrings
RecordWildCards
ghc-options:
-Wall
-fwarn-unused-matches
-fwarn-unused-binds
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Network.JSONApi.ErrorSpec
Network.JSONApi.DocumentSpec
Network.JSONApi.IdentifierSpec
Network.JSONApi.MetaSpec
Network.JSONApi.PaginationSpec
Network.JSONApi.ResourceSpec
TestHelpers
type: exitcode-stdio-1.0
source-repository head
type: git
location: https://github.com/shirren/json-api-lib