nixpkgs/pkgs/development/libraries/haskell/http-reverse-proxy/default.nix

28 lines
1017 B
Nix

{ cabal, async, basicPrelude, blazeBuilder, caseInsensitive
, conduit, dataDefaultClass, hspec, httpClient, httpConduit
, httpTypes, liftedBase, monadControl, network, networkConduit
, resourcet, text, transformers, wai, waiLogger, warp, word8
}:
cabal.mkDerivation (self: {
pname = "http-reverse-proxy";
version = "0.3.1.1";
sha256 = "02aksdkwhdxzc4kk7j3npbiqpm9px3yva0375mk1b1f2g552g5jj";
buildDepends = [
async basicPrelude blazeBuilder caseInsensitive conduit
dataDefaultClass httpClient httpTypes liftedBase monadControl
network networkConduit resourcet text wai waiLogger word8
];
testDepends = [
blazeBuilder conduit hspec httpConduit httpTypes liftedBase network
networkConduit transformers wai warp
];
doCheck = false;
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;
};
})