2013-09-08 21:05:40 +01:00
|
|
|
{ cabal, basicPrelude, blazeBuilder, caseInsensitive, conduit
|
2013-12-09 12:03:20 +00:00
|
|
|
, dataDefault, hspec, httpClient, httpConduit, httpTypes
|
|
|
|
, liftedBase, monadControl, network, networkConduit, resourcet
|
|
|
|
, text, transformers, wai, waiLogger, warp, word8
|
2012-11-08 13:51:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "http-reverse-proxy";
|
2013-12-09 12:03:20 +00:00
|
|
|
version = "0.3.0";
|
|
|
|
sha256 = "0wwrcm3hhbq9kawk3s12s8ws82vancmc8a5d29f6871jfq3vvzc2";
|
2012-11-08 13:51:07 +00:00
|
|
|
buildDepends = [
|
2013-09-08 21:05:40 +01:00
|
|
|
basicPrelude blazeBuilder caseInsensitive conduit dataDefault
|
2013-12-09 12:03:20 +00:00
|
|
|
httpClient httpTypes liftedBase monadControl network networkConduit
|
|
|
|
resourcet text wai waiLogger word8
|
2012-11-08 13:51:07 +00:00
|
|
|
];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
|
|
|
blazeBuilder conduit hspec httpConduit httpTypes liftedBase network
|
|
|
|
networkConduit transformers wai warp
|
|
|
|
];
|
2013-12-10 10:46:18 +00:00
|
|
|
doCheck = false;
|
2012-11-08 13:51:07 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|