28 lines
1004 B
Nix
28 lines
1004 B
Nix
{ cabal, basicPrelude, blazeBuilder, caseInsensitive, conduit
|
|
, dataDefaultClass, hspec, httpClient, httpConduit, httpTypes
|
|
, liftedBase, monadControl, network, networkConduit, resourcet
|
|
, text, transformers, wai, waiLogger, warp, word8
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "http-reverse-proxy";
|
|
version = "0.3.0.1";
|
|
sha256 = "01rbczzf300ivb08wncm19wq64m7n6r5xfbgh82phjxjmmx9h6wj";
|
|
buildDepends = [
|
|
basicPrelude blazeBuilder caseInsensitive conduit dataDefaultClass
|
|
httpClient httpTypes liftedBase monadControl network networkConduit
|
|
resourcet text wai waiLogger word8
|
|
];
|
|
testDepends = [
|
|
blazeBuilder conduit hspec httpConduit httpTypes liftedBase network
|
|
networkConduit transformers wai warp
|
|
];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "https://github.com/fpco/http-reverse-proxy";
|
|
description = "Reverse proxy HTTP requests, either over raw sockets or with WAI";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|