summaryrefslogtreecommitdiff
path: root/hprox.cabal
blob: eb554d03ff5da2d291d741e5844e25e0e4145848 (plain)
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
name:          hprox
version:       0.1.0
synopsis:      a lightweight HTTP proxy server, and more
description:
  Please see the README on GitHub at <https://github.com/bjin/hprox#readme>

license:       Apache-2.0
license-file:  LICENSE
author:        Bin Jin
maintainer:    bjin@ctrl-d.org
category:      Web
build-type:    Simple
cabal-version: >=1.10

extra-source-files:
  README.md

flag static
  description:
    Enable static build
  Default:
    False

executable hprox
  main-is:
    Main.hs
  ghc-options:
    -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N -c"
  if flag(static)
    ghc-options:
      -optl-static
  other-modules:
    HProx
  build-depends:
    async,
    base < 5.0,
    base64-bytestring,
    binary,
    bytestring,
    case-insensitive,
    conduit,
    conduit-extra,
    http-client,
    http-reverse-proxy >= 0.4.0,
    http-types,
    optparse-applicative,
    tls >= 1.5.0,
    unix,
    wai >= 3.2.2,
    wai-extra,
    warp >= 3.2.8,
    warp-tls >= 3.2.5
  default-language:
    Haskell2010