2013-02-14 12:42:08 +01:00
|
|
|
{ cabal, blazeBuilder, caseInsensitive, classyPrelude, conduit
|
2013-02-24 22:09:07 +01:00
|
|
|
, dataDefault, hspec, httpConduit, httpTypes, liftedBase
|
|
|
|
, monadControl, network, networkConduit, text, transformers, wai
|
|
|
|
, warp, word8
|
2012-11-08 14:51:07 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "http-reverse-proxy";
|
2013-02-21 16:13:05 +01:00
|
|
|
version = "0.1.1.3";
|
|
|
|
sha256 = "0z2h2xbvg034snfh3hzc0v2zp5j57lcak2h4vz10lwaqr3jxqnpn";
|
2012-11-08 14:51:07 +01:00
|
|
|
buildDepends = [
|
2013-02-14 12:42:08 +01:00
|
|
|
blazeBuilder caseInsensitive classyPrelude conduit dataDefault
|
|
|
|
httpConduit httpTypes liftedBase monadControl network
|
2012-11-08 14:51:07 +01:00
|
|
|
networkConduit text wai warp word8
|
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
|
|
|
blazeBuilder conduit hspec httpConduit httpTypes liftedBase network
|
|
|
|
networkConduit transformers wai warp
|
|
|
|
];
|
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;
|
|
|
|
};
|
|
|
|
})
|