2013-09-08 21:05:40 +01:00
|
|
|
{ cabal, basicPrelude, blazeBuilder, caseInsensitive, 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-09-08 21:05:40 +01:00
|
|
|
version = "0.2.1.1";
|
|
|
|
sha256 = "12hfbl8239ivrqvd5pi1avlcb381q861958qwyf20jc5jpwvjjgj";
|
2012-11-08 13:51:07 +00:00
|
|
|
buildDepends = [
|
2013-09-08 21:05:40 +01:00
|
|
|
basicPrelude blazeBuilder caseInsensitive conduit dataDefault
|
2013-02-14 11:42:08 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|