summaryrefslogtreecommitdiff
path: root/hprox.cabal
blob: bfc466d104534807188777e763a1a24e66ea02ce (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
55
56
57
58
59
60
61
62
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: a70b4c08df6e0a53013a5ee56b5e14317c0fb952bc34ad9dd8b9c25954559c83

name:           hprox
version:        0.1.0.1
synopsis:       a lightweight HTTP proxy server, and more
description:    Please see the README on GitHub at <https://github.com/bjin/hprox#readme>
category:       Web
homepage:       https://github.com/bjin/hprox#readme
bug-reports:    https://github.com/bjin/hprox/issues
author:         Bin Jin
maintainer:     bjin@ctrl-d.org
copyright:      2019 Bin Jin
license:        Apache-2.0
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/bjin/hprox

flag static
  description: Enable static build
  manual: True
  default: False

executable hprox
  main-is: Main.hs
  other-modules:
      HProx
  hs-source-dirs:
      src
  ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      async
    , base >=4.7 && <5
    , 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
  if flag(static)
    ghc-options: -optl-static
  default-language: Haskell2010