27 lines
987 B
Nix
27 lines
987 B
Nix
{ cabal, blazeBuilder, caseInsensitive, classyPrelude, conduit
|
|
, dataDefault, hspec, httpConduit, httpTypes, liftedBase
|
|
, monadControl, network, networkConduit, text, transformers, wai
|
|
, warp, word8
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "http-reverse-proxy";
|
|
version = "0.1.1.4";
|
|
sha256 = "0j77hp1ddbxrsv65xf6kqbl8jnvl6qzx98p0lg73j7s76j7vg9cd";
|
|
buildDepends = [
|
|
blazeBuilder caseInsensitive classyPrelude conduit dataDefault
|
|
httpConduit httpTypes liftedBase monadControl network
|
|
networkConduit text wai warp word8
|
|
];
|
|
testDepends = [
|
|
blazeBuilder conduit hspec httpConduit httpTypes liftedBase network
|
|
networkConduit transformers wai warp
|
|
];
|
|
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;
|
|
maintainers = [ self.stdenv.lib.maintainers.simons ];
|
|
};
|
|
})
|