2014-03-27 13:17:35 +01:00
|
|
|
{ cabal, async, blazeBuilder, caseInsensitive, conduit
|
2014-03-30 22:06:42 +02:00
|
|
|
, conduitExtra, dataDefaultClass, hspec, httpClient, httpConduit
|
|
|
|
, httpTypes, liftedBase, monadControl, network, networkConduit
|
|
|
|
, resourcet, streamingCommons, text, transformers, wai, waiLogger
|
|
|
|
, warp, word8
|
2012-11-08 14:51:07 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "http-reverse-proxy";
|
2014-06-10 20:33:30 +02:00
|
|
|
version = "0.4.0.1";
|
|
|
|
sha256 = "0gygmykxsy6rs3xmwb24s5c3brmabdgxb1w0ak82vyvfvsnqxz1h";
|
2012-11-08 14:51:07 +01:00
|
|
|
buildDepends = [
|
2014-03-30 22:06:42 +02:00
|
|
|
async blazeBuilder caseInsensitive conduit conduitExtra
|
|
|
|
dataDefaultClass httpClient httpTypes liftedBase monadControl
|
2014-06-10 20:33:30 +02:00
|
|
|
network resourcet streamingCommons text transformers wai waiLogger
|
|
|
|
word8
|
2012-11-08 14:51:07 +01:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2014-04-04 23:29:52 +02:00
|
|
|
blazeBuilder conduit conduitExtra hspec httpConduit httpTypes
|
|
|
|
liftedBase network networkConduit resourcet streamingCommons
|
|
|
|
transformers wai warp
|
2013-02-24 22:09:07 +01:00
|
|
|
];
|
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;
|
|
|
|
};
|
|
|
|
})
|