File: http-types.cabal

package info (click to toggle)
haskell-http-types 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: haskell: 1,314; makefile: 7
file content (63 lines) | stat: -rw-r--r-- 2,276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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