swagger2-2.2.2: swagger2.cabal
cabal-version: >=1.10
name: swagger2
version: 2.2.2
synopsis: Swagger 2.0 data model
description:
This library is inteded to be used for decoding and encoding Swagger 2.0 API
specifications as well as manipulating them.
.
The original Swagger 2.0 specification is available at http://swagger.io/specification/.
homepage: https://github.com/GetShopTV/swagger2
bug-reports: https://github.com/GetShopTV/swagger2/issues
license: BSD3
license-file: LICENSE
author: Nickolay Kudasov
maintainer: nickolay@getshoptv.com
copyright: (c) 2015-2016, GetShopTV
category: Web, Swagger
build-type: Custom
extra-source-files:
README.md
, CHANGELOG.md
, examples/*.hs
, include/overlapping-compat.h
tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
custom-setup
setup-depends:
base, Cabal, cabal-doctest >=1.0.2 && <1.1
library
hs-source-dirs: src
include-dirs: include
exposed-modules:
Data.Swagger
Data.Swagger.Declare
Data.Swagger.Lens
Data.Swagger.Operation
Data.Swagger.ParamSchema
Data.Swagger.Schema
Data.Swagger.Schema.Validation
Data.Swagger.SchemaOptions
-- internal modules
Data.Swagger.Internal
Data.Swagger.Internal.Schema
Data.Swagger.Internal.Schema.Validation
Data.Swagger.Internal.ParamSchema
Data.Swagger.Internal.Utils
Data.Swagger.Internal.AesonUtils
Data.Swagger.Internal.TypeShape
-- GHC boot libraries
build-depends:
base >=4.7 && <4.12
, bytestring >=0.10.4 && <0.11
, containers >=0.5.5.1 && <0.6
, template-haskell >=2.9.0.0 && <2.14
, time >=1.4.2 && <1.9
, transformers >=0.3.0.0 && <0.6
build-depends:
mtl >=2.1 && <2.3
, text >=1.2.3.0 && <1.3
-- other dependencies
build-depends:
base-compat-batteries >=0.10.1 && <0.11
, aeson >=1.0.0.0 && <1.4
, generics-sop >=0.3.2.0 && <0.4
, hashable >=1.2.7.0 && <1.3
, http-media >=0.7.1.2 && <0.8
, insert-ordered-containers >=0.1.0.0 && <0.3
, lens >=4.16.1 && <4.17
, network >=2.6.3.5 && <2.7
, scientific >=0.3.5.3 && <0.4
, transformers-compat >=0.3 && <0.7
, unordered-containers >=0.2.9.0 && <0.3
, uuid-types >=1.0.2 && <1.1
, vector >=0.12.0.1 && <0.13
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
-- From library parat
-- We need aeson's toEncoding for doctests too
build-depends:
base
, swagger2
, aeson
, base-compat-batteries
, bytestring
, containers
, hashable
, insert-ordered-containers
, lens
, mtl
, text
, time
, unordered-containers
, vector
-- test-suite only dependencies
build-depends:
aeson-qq >=0.8.2 && <0.9
, hspec >=2.4.8 && <2.6
, HUnit >=1.6.0.0 && <1.7
, QuickCheck >=2.10.1 && <2.12
, quickcheck-instances >=0.3.18 && <0.14
-- https://github.com/haskell/cabal/issues/3708
build-tool-depends:
hspec-discover:hspec-discover >=2.4.8 && <2.6
other-modules:
SpecCommon
Data.SwaggerSpec
Data.Swagger.CommonTestTypes
Data.Swagger.ParamSchemaSpec
Data.Swagger.SchemaSpec
Data.Swagger.Schema.ValidationSpec
default-language: Haskell2010
test-suite doctests
-- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
build-depends: base, doctest, Glob, QuickCheck
default-language: Haskell2010
hs-source-dirs: test
main-is: doctests.hs
type: exitcode-stdio-1.0
source-repository head
type: git
location: https://github.com/GetShopTV/swagger2.git