2014-06-10 18:33:45 +00:00
|
|
|
{ cabal, blazeBuilder, caseInsensitive, fileEmbed, httpTypes
|
|
|
|
, ioStreams, network, text, transformers, wai, waiAppStatic, warp
|
|
|
|
, websockets
|
2014-03-14 22:43:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wai-websockets";
|
2014-06-10 18:33:45 +00:00
|
|
|
version = "3.0.0";
|
|
|
|
sha256 = "0bpzkh9a5j0a282z4dj9dqnjsgd0g8gyvvp0xm0a53582zfhfi5s";
|
2014-03-14 22:43:41 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-06-10 18:33:45 +00:00
|
|
|
blazeBuilder caseInsensitive fileEmbed httpTypes ioStreams network
|
|
|
|
text transformers wai waiAppStatic warp websockets
|
2014-03-14 22:43:41 +00:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/yesodweb/wai";
|
|
|
|
description = "Provide a bridge betweeen WAI and the websockets package";
|
|
|
|
license = self.stdenv.lib.licenses.mit;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|