2012-04-05 16:51:59 +00:00
|
|
|
{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
|
2014-02-02 19:16:15 +00:00
|
|
|
, conduit, doctest, hashable, hspec, HTTP, httpDate, httpTypes
|
|
|
|
, HUnit, liftedBase, network, networkConduit, QuickCheck
|
2013-12-09 12:03:24 +00:00
|
|
|
, simpleSendfile, time, transformers, unixCompat, void, wai
|
2011-08-09 23:00:20 +00:00
|
|
|
}:
|
2011-07-07 21:40:33 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2011-07-07 21:40:33 +00:00
|
|
|
pname = "warp";
|
2014-02-05 09:43:15 +00:00
|
|
|
version = "2.0.3.1";
|
|
|
|
sha256 = "0rbl9p1kdgvya2ah2bpaqfv73hlvhsd46nk5f5wgx244pm714kc5";
|
2011-08-09 23:00:20 +00:00
|
|
|
buildDepends = [
|
2012-09-25 11:12:48 +00:00
|
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
|
2014-02-02 19:16:15 +00:00
|
|
|
httpDate httpTypes liftedBase network networkConduit simpleSendfile
|
|
|
|
transformers unixCompat void wai
|
2011-07-07 21:40:33 +00:00
|
|
|
];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
2013-12-09 12:03:24 +00:00
|
|
|
blazeBuilder blazeBuilderConduit caseInsensitive conduit doctest
|
2014-02-02 19:16:15 +00:00
|
|
|
hashable hspec HTTP httpDate httpTypes HUnit liftedBase network
|
|
|
|
networkConduit QuickCheck simpleSendfile time transformers
|
|
|
|
unixCompat void wai
|
2013-02-24 21:09:07 +00:00
|
|
|
];
|
2013-12-09 18:37:17 +00:00
|
|
|
doCheck = false;
|
2011-07-07 21:40:33 +00:00
|
|
|
meta = {
|
2011-11-28 18:12:09 +00:00
|
|
|
homepage = "http://github.com/yesodweb/wai";
|
2011-08-11 13:03:51 +00:00
|
|
|
description = "A fast, light-weight web server for WAI applications";
|
2012-04-09 12:37:39 +00:00
|
|
|
license = self.stdenv.lib.licenses.mit;
|
2011-08-09 09:54:50 +00:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 22:36:36 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-07-07 21:40:33 +00:00
|
|
|
};
|
|
|
|
})
|