-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathservant-errors.cabal
More file actions
67 lines (58 loc) · 2.1 KB
/
servant-errors.cabal
File metadata and controls
67 lines (58 loc) · 2.1 KB
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
64
65
66
67
cabal-version: 2.2
name: servant-errors
version: 0.1.7.0
synopsis: Servant Errors wai-middlware
description:
A Wai middleware that uniformly structures errors with in a servant application. The library assumes all HTTP responses with status code greater than 200 and without an HTTP content type are error responses. This assumption is derived from servant server error handling implementation.
homepage: https://github.com/epicallan/servant-errors
bug-reports: https://github.com/epicallan/servant-errors/issues
license: MIT
license-file: LICENSE
author: Lukwago Allan
maintainer: epicallan.al@gmail.com
copyright: 2019 Lukwago Allan
category: Network, Servant
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
tested-with:
GHC ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.8.4 || ==9.0.2 || ==9.2.5
source-repository head
type: git
location: https://github.com/epicallan/servant-errors.git
common common-options
build-depends:
, aeson >=1.3 && <2.2
, base >=4.10.0.0 && <5
, base-compat >=0.9.0
, text >=1.2
, wai >=3.2
ghc-options:
-Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat -Widentities -Wredundant-constraints -fhide-source-paths
-freverse-errors -Wpartial-fields
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
exposed-modules: Network.Wai.Middleware.Servant.Errors
build-depends:
, bytestring >=0.10.8.2
, http-api-data >=0.3
, http-media >=0.7
, http-types >=0.12
, scientific >=0.3
, servant >=0.13
, string-conversions >=0.4
, unordered-containers >=0.2
test-suite readme
import: common-options
build-depends:
, servant-errors
, servant-server >=0.13
, warp >=3.2.26
main-is: README.lhs
type: exitcode-stdio-1.0
ghc-options: -pgmL markdown-unlit
build-tool-depends: markdown-unlit:markdown-unlit