From 9d2bef67e2c836961e96809cba08b969d0cd214e Mon Sep 17 00:00:00 2001 From: Jezen Thomas Date: Mon, 11 Aug 2025 10:40:40 +0200 Subject: [PATCH] Format cabal file This applies a formatting change with cabal-fmt. --- http-reverse-proxy.cabal | 120 +++++++++++++++++++++------------------ 1 file changed, 65 insertions(+), 55 deletions(-) diff --git a/http-reverse-proxy.cabal b/http-reverse-proxy.cabal index ba72b33..b3a81df 100644 --- a/http-reverse-proxy.cabal +++ b/http-reverse-proxy.cabal @@ -1,63 +1,73 @@ -name: http-reverse-proxy -version: 0.6.2.0 -synopsis: Reverse proxy HTTP requests, either over raw sockets or with WAI -description: Provides a simple means of reverse-proxying HTTP requests. The raw approach uses the same technique as leveraged by keter, whereas the WAI approach performs full request/response parsing via WAI and http-conduit. -homepage: https://github.com/fpco/http-reverse-proxy -license: BSD3 -license-file: LICENSE -author: Michael Snoyman -maintainer: michael@fpcomplete.com -category: Web -build-type: Simple -cabal-version: >=1.10 -extra-source-files: README.md ChangeLog.md +name: http-reverse-proxy +version: 0.6.2.0 +synopsis: + Reverse proxy HTTP requests, either over raw sockets or with WAI + +description: + Provides a simple means of reverse-proxying HTTP requests. The raw approach uses the same technique as leveraged by keter, whereas the WAI approach performs full request/response parsing via WAI and http-conduit. + +homepage: https://github.com/fpco/http-reverse-proxy +license: BSD3 +license-file: LICENSE +author: Michael Snoyman +maintainer: michael@fpcomplete.com +category: Web +build-type: Simple +cabal-version: >=1.10 +extra-source-files: + ChangeLog.md + README.md library - default-language: Haskell2010 - exposed-modules: Network.HTTP.ReverseProxy - other-modules: Paths_http_reverse_proxy - if impl(ghc < 8) + default-language: Haskell2010 + exposed-modules: Network.HTTP.ReverseProxy + other-modules: Paths_http_reverse_proxy + + if impl(ghc <8) buildable: False - build-depends: base >= 4.11 && < 5 - , text >= 0.11 - , bytestring >= 0.9 - , case-insensitive >= 0.4 - , http-types >= 0.6 - , word8 >= 0.0 - , blaze-builder >= 0.3 - , http-client >= 0.3 - , wai >= 3.0 - , network - , conduit >= 1.3 - , conduit-extra - , wai-logger - , resourcet - , containers - , unliftio >= 0.2 - , transformers - , streaming-commons + + build-depends: + base >=4.11 && <5 + , blaze-builder >=0.3 + , bytestring >=0.9 + , case-insensitive >=0.4 + , conduit >=1.3 + , conduit-extra + , containers + , http-client >=0.3 + , http-types >=0.6 + , network + , resourcet + , streaming-commons + , text >=0.11 + , transformers + , unliftio >=0.2 + , wai >=3.0 + , wai-logger + , word8 >=0.0 test-suite test - default-language: Haskell2010 - type: exitcode-stdio-1.0 - main-is: main.hs - hs-source-dirs: test - build-depends: base < 10 - , http-reverse-proxy - , wai - , http-types - , hspec >= 1.3 - , warp >= 2.1 - , bytestring - , conduit >= 1.1 - , conduit-extra - , blaze-builder - , transformers - , unliftio - , network - , http-conduit >= 2.3 - , resourcet - , streaming-commons + default-language: Haskell2010 + type: exitcode-stdio-1.0 + main-is: main.hs + hs-source-dirs: test + build-depends: + base <10 + , blaze-builder + , bytestring + , conduit >=1.1 + , conduit-extra + , hspec >=1.3 + , http-conduit >=2.3 + , http-reverse-proxy + , http-types + , network + , resourcet + , streaming-commons + , transformers + , unliftio + , wai + , warp >=2.1 source-repository head type: git