mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
1,015 B
Nix
28 lines
1,015 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";
|
|
sha256 = "1xayhjrs6nm7gm5xc6z6vhzi9iq5czdvpywamkncivjsxjlc50b8";
|
|
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;
|
|
};
|
|
})
|