packages feed

servant-waargonaut-0.5.0.1: servant-waargonaut.cabal

-- Initial servant-waargonaut.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                servant-waargonaut
version:             0.5.0.1
synopsis:            Servant Integration for Waargonaut JSON Package
description:         Provides the types and instances necessary to utilise Waargonaut as the JSON handling library for your Servant API.
-- license:
-- The license under which the package is released.
license:             BSD3

-- The file containing the license text.
license-file:        LICENCE

-- The package author(s).
author:              QFPL @ Data61

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          oᴉ˙ldɟb@uɐǝs

-- A copyright notice.
copyright:           Copyright (C) 2017 Commonwealth Scientific and Industrial Research Organisation (CSIRO)

category:            Web, JSON

build-type:          Simple
extra-source-files:  CHANGELOG.md
cabal-version:       >=1.10

tested-with:         GHC==8.0.2
                   , GHC==8.2.2
                   , GHC==8.4.4
                   , GHC==8.6.3

source-repository    head
  type:              git
  location:          git@github.com/qfpl/servant-waargonaut.git

library
  exposed-modules:     Servant.API.ContentTypes.Waargonaut
  -- other-modules:
  -- other-extensions:
  build-depends:       base                >= 4.9    && < 4.13
                     , servant             >= 0.14.1 && < 0.16
                     , waargonaut          >= 0.5    && < 0.6
                     , attoparsec          >= 0.13.2 && < 0.14
                     , bytestring          >= 0.10.8 && < 0.11
                     , text                >= 1.2.3  && < 1.3
                     , http-media          >= 0.7.1  && < 0.8
                     , lens                >= 4.16.1 && < 4.18
                     , wl-pprint-annotated >= 0.1.0  && < 0.2

  hs-source-dirs:      src

  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite saarg
  -- Base language which the package is written in.
  default-language:    Haskell2010

  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  hs-source-dirs:      test
  ghc-options:         -Wall

  other-modules:       TestAPI

  build-depends:       base                >= 4.9    && < 4.13
                     , servant-waargonaut
                     , servant-server
                     , servant             >= 0.14.1 && < 0.16
                     , waargonaut          >= 0.5    && < 0.6

                     , attoparsec          >= 0.13.2 && < 0.14
                     , bytestring          >= 0.10.8 && < 0.11
                     , text                >= 1.2.3  && < 1.3
                     , http-media          >= 0.7.1  && < 0.8
                     , lens                >= 4.16.1 && < 4.18
                     , wl-pprint-annotated >= 0.1.0  && < 0.2

                     , wai
                     , tasty
                     , tasty-wai
                     , http-types
                     , transformers