packages feed

http-types-0.12.4: http-types.cabal

Cabal-version:       3.0
Name:                http-types
Version:             0.12.4
Synopsis:            Generic HTTP types for Haskell (for both client and server code).
Description:         Types and functions to describe and handle HTTP concepts.
                     Including "methods", "headers", "query strings", "paths" and "HTTP versions".
Homepage:            https://github.com/Vlix/http-types
License:             BSD-3-Clause
License-file:        LICENSE
Author:              Aristid Breitkreuz, Michael Snoyman
Maintainer:          felix.paulusma@gmail.com
Copyright:           (C) 2011 Aristid Breitkreuz
Category:            Network, Web
Build-type:          Simple
Extra-source-files:  README, CHANGELOG

Source-repository this
  type: git
  location: https://github.com/Vlix/http-types.git
  tag: 0.12.4

Source-repository head
  type: git
  location: https://github.com/Vlix/http-types.git

Library
  Exposed-modules:     Network.HTTP.Types
                       Network.HTTP.Types.Header
                       Network.HTTP.Types.Method
                       Network.HTTP.Types.QueryLike
                       Network.HTTP.Types.Status
                       Network.HTTP.Types.URI
                       Network.HTTP.Types.Version
  GHC-Options:         -Wall
  Build-depends:       base >= 4 && < 5,
                       bytestring >=0.10.4.0 && <1.0,
                       array >=0.2 && <0.6,
                       case-insensitive >=0.2 && <1.3,
                       text >= 0.11.0.2
  Default-language:    Haskell2010

Test-suite spec
  main-is:             Spec.hs
  hs-source-dirs:      test
  other-modules:       Network.HTTP.Types.URISpec
  type:                exitcode-stdio-1.0
  GHC-Options:         -Wall
  default-language:    Haskell2010
  build-depends:       base,
                       http-types,
                       text,
                       bytestring,
                       QuickCheck,
                       quickcheck-instances,
                       hspec >= 1.3

Test-Suite doctests
  main-is:             doctests.hs
  hs-source-dirs:      test
  type:                exitcode-stdio-1.0
  ghc-options:         -threaded -Wall
  default-language:    Haskell2010
  build-depends:       base, doctest >= 0.9.3