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