packages feed

composite-swagger-0.8.2.2: composite-swagger.cabal

cabal-version: 1.12

name:           composite-swagger
version:        0.8.2.2
synopsis:       Swagger for Vinyl records
description:    Integration between Swagger and Vinyl records allowing easily derivable/explicit Swagger definitions for records.
category:       Records
homepage:       https://github.com/composite-hs/composite#readme
author:         Dan Fithian
maintainer:     oss@vitalbio.com
copyright:      2017 Confer Health, Inc., 2020-2021 Vital Biosciences
license:        BSD3
build-type:     Simple

library
  exposed-modules:
      Composite.Swagger
      Composite.Swagger.Base
      Composite.Swagger.OrphanInstances
      Composite.Swagger.TH
  other-modules:
      Paths_composite_swagger
  hs-source-dirs:
      src
  default-extensions:
      DataKinds
      FlexibleContexts
      FlexibleInstances
      GeneralizedNewtypeDeriving
      MultiParamTypeClasses
      OverloadedStrings
      PolyKinds
      ScopedTypeVariables
      StandaloneDeriving
      StrictData
      TemplateHaskell
      TupleSections
      TypeFamilies
      TypeOperators
      ViewPatterns
  ghc-options: -Wall -O2
  build-depends:
      base >=4.12 && <5
    , composite-base ==0.8.*
    , insert-ordered-containers >=0.2.1.0 && <0.3
    , lens >=4.15.4 && <5.3
    , swagger2 >=2.1.6 && <2.9
    , template-haskell >=2.11.1.0 && <2.19
    , text >=1.2.2.2 && <1.3
    , vinyl >=0.5.3 && <0.15
  default-language: Haskell2010

test-suite composite-swagger-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      THSpec
      Paths_composite_swagger
  hs-source-dirs:
      test
  default-extensions:
      DataKinds
      FlexibleContexts
      FlexibleInstances
      GeneralizedNewtypeDeriving
      MultiParamTypeClasses
      OverloadedStrings
      PolyKinds
      ScopedTypeVariables
      StandaloneDeriving
      StrictData
      TemplateHaskell
      TupleSections
      TypeFamilies
      TypeOperators
      ViewPatterns
  ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N -fno-warn-orphans
  build-depends:
      QuickCheck
    , base >=4.12 && <5
    , composite-aeson
    , composite-base
    , composite-swagger
    , hspec
    , insert-ordered-containers >=0.2.1.0 && <0.3
    , lens >=4.15.4 && <5.3
    , swagger2 >=2.1.6 && <2.9
    , template-haskell >=2.11.1.0 && <2.19
    , text >=1.2.2.2 && <1.3
    , vinyl >=0.5.3 && <0.15
  default-language: Haskell2010