2013-02-14 11:42:08 +00:00
|
|
|
{ cabal, blazeBuilder, caseInsensitive, classyPrelude, conduit
|
2013-02-24 21:09:07 +00:00
|
|
|
, dataDefault, hspec, httpConduit, httpTypes, liftedBase
|
|
|
|
, monadControl, network, networkConduit, text, transformers, wai
|
2013-07-01 10:04:04 +01:00
|
|
|
, waiLogger, warp, word8
|
2012-11-08 13:51:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "http-reverse-proxy";
|
2013-08-29 09:48:45 +01:00
|
|
|
version = "0.2.1";
|
|
|
|
sha256 = "1f1087igr4kisb3z3lxznb85sfhzr2s08am1za3jg8cgffmrais8";
|
2012-11-08 13:51:07 +00:00
|
|
|
buildDepends = [
|
2013-02-14 11:42:08 +00:00
|
|
|
blazeBuilder caseInsensitive classyPrelude conduit dataDefault
|
|
|
|
httpConduit httpTypes liftedBase monadControl network
|
2013-07-01 10:04:04 +01:00
|
|
|
networkConduit text wai waiLogger warp 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
|
|
|
|
];
|
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;
|
|
|
|
};
|
|
|
|
})
|